DockerCLI/cli/command
Giedrius Jonikas 39d73afbdd
Optimise `docker stats` to not require clearing the whole screen
Instead of clearing the whole screen and then writing the new stats,
we now write the new stats on top of the old text, and then clear
the remaining text.

This is a more efficient way to update the stats, as it avoids the
flickering that happens when the screen is cleared and rewritten.

Signed-off-by: Giedrius Jonikas <giedriusj1@gmail.com>
(cherry picked from commit cb2f95ceee)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-19 12:49:28 +01:00
..
builder test spring-cleaning 2024-07-19 13:37:27 +02:00
checkpoint test spring-cleaning 2024-07-19 13:37:27 +02:00
commands remove exec, push, pull, ps, images, info from "legacy" commands 2022-04-08 16:55:39 +02:00
completion completion: add test for VolumeNames 2024-10-17 23:43:03 +02:00
config update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
container Optimise `docker stats` to not require clearing the whole screen 2024-11-19 12:49:28 +01:00
context update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
formatter update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
idresolver update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
image update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
inspect update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
manifest cli/command: fix n-constant format string in call (govet) 2024-08-26 14:38:40 +02:00
network update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
node update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
plugin update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
registry login: handle non-tty scenario consistently 2024-09-03 15:39:17 +01:00
secret update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
service update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
stack update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
swarm test spring-cleaning 2024-07-19 13:37:27 +02:00
system update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
task linting: address slice-append issues found by gocritic 2023-11-20 16:02:17 +01:00
testdata Dynamically register kubernetes context store endpoint type. 2019-05-20 13:28:11 +01:00
trust update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
volume update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
cli.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
cli_options.go add support for DOCKER_CUSTOM_HEADERS env-var (experimental) 2024-07-19 15:07:06 +02:00
cli_options_test.go golangci-lint: enable thelper linter 2023-11-20 16:02:17 +01:00
cli_test.go add support for DOCKER_CUSTOM_HEADERS env-var (experimental) 2024-07-19 15:07:06 +02:00
context.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
context_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
defaultcontextstore.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
defaultcontextstore_test.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
registry.go cli/command: PromptUserForCredentials: suppress unhandled errors 2024-11-13 23:32:41 +01:00
registry_test.go linting: fmt.Sprintf can be replaced with string concatenation (perfsprint) 2024-06-10 21:19:32 +02:00
telemetry.go OTel: implement missing MeterProvider `ForceFlush` 2024-05-15 00:05:31 +01:00
telemetry_docker.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
telemetry_docker_test.go command: change drive to lowercase for wsl path 2024-09-18 11:05:51 +01:00
telemetry_options.go cli: make initializing the global meter- and tracing providers optional 2024-06-24 15:44:20 +02:00
telemetry_utils.go telemetry: pass otel errors to the otel handler for shutdown and force flush 2024-09-18 10:43:32 +01:00
telemetry_utils_test.go cli: Wrap Err stream 2024-06-11 17:59:48 +02:00
trust.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
utils.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
utils_test.go fix: ctx cancellation on login prompt 2024-07-19 01:46:16 +02:00