pulumi/sdk/go/common/workspace
Thomas Gummerer e4c5d250fa
add a CR before when finishing the progress bar (#15201)
We are using our terminal in raw mode, which means we're not getting CRs
automatically added. Add one after a progress bar has finished to
improve the output slightly.

The final output after this looks like: 

```
$ pulumi preview                     
Please choose a stack, or create a new one: dev
Previewing update (dev):
Downloading plugin: 18.39 MiB / 18.39 MiB [========================] 100.00% 15s

[resource plugin docker-3.6.1] installing
Downloading plugin: 20.19 MiB / 20.19 MiB [========================] 100.00% 15s

[resource plugin awsx-1.0.5] installing
Downloading plugin: 164.18 MiB / 164.18 MiB [======================] 100.00% 32s

[resource plugin aws-5.42.0] installing
[...]
```

Which seems slightly better, but not a huge improvement, and the
progress bar is unfortunately also still jumpy. I'll write down the rest
of my learnings here in https://github.com/pulumi/pulumi/issues/14250.

I'm not entirely sure it's even worth merging this, but I'm putting this
up as a PR for further discussion and to show where the investigation
led.
2024-01-23 09:27:26 +00:00
..
config.go [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
creds.go Fix panic in whoami (#14108) 2023-10-06 16:56:36 +00:00
creds_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
loaders.go [esc] Add commands for managing stack environments (#14628) 2023-11-22 05:04:14 +00:00
loaders_test.go ignore unexpected types instead of erroring out (#14149) 2023-10-11 16:39:16 +00:00
paths.go Fix panic when looking up home (#15160) 2024-01-17 09:19:49 +00:00
paths_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
plugins.go add a CR before when finishing the progress bar (#15201) 2024-01-23 09:27:26 +00:00
plugins_install_nodejs_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_python_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_test.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
plugins_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
project.go turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
project.json [sdk] add optional display name and tag fields to project templates (#14587) 2023-11-18 19:04:13 +00:00
project_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
templates_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
templates_zip.go Adds Pulumi AI integrations with Pulumi New (#14685) 2023-12-20 22:08:09 +00:00
templates_zip_test.go Adds Pulumi AI integrations with Pulumi New (#14685) 2023-12-20 22:08:09 +00:00
workspace.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00