pulumi/pkg/backend/display
Aaron Friel 4c3df63ed5
Export a helper for rendering progress to a "simple" terminal (#17147)
The helper method exported here uses an internal terminal,
"SimpleTerminal", which ignores terminal control sequences and writes
its output directly to a buffer. The wrapper retains a similar API as
`ShowProgressEvents` to enable streaming events, though performance may
be suboptimal as a subset of events must be buffered as rows to render
the tree.

For cleaner output in this mode, the `CarriageReturn` operation is added
to the internal terminal interface to conditionally render it.
Ordinarily this is used along with cursor movement to render the tree in
place, and is not needed for this mode. This removes spurious `\r`
(rendered as "^M") characters from the diff for the plain rendering
tests.
2024-09-06 03:17:49 +00:00
..
internal/terminal Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
testdata Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
wasm [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
diff.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
diff_test.go Fix rendering of output events in rendering update diffs (#17029) 2024-08-27 18:37:03 +00:00
display.go Include all engine events in the event log (#17101) 2024-08-30 10:31:19 +00:00
display_test.go Include all engine events in the event log (#17101) 2024-08-30 10:31:19 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
events.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
events_test.go Don't omit an empty detailedDiff (#15213) 2024-01-23 00:00:14 +00:00
json.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
jsonmessage.go Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
object_diff.go Fix mangled diffs of strings containing url-encoded chars (#16147) 2024-05-08 08:23:40 +00:00
object_diff_test.go Fix a panic in diff display when parsing YAML strings (#14710) 2023-12-02 01:24:13 +00:00
options.go Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
progress.go Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
progress_bar.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
progress_bar_test.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
progress_test.go Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
query.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00
rows.go Display `[retain]` in all cases of delete retention (#16506) 2024-06-28 23:19:26 +00:00
sigint_unix.go [cli] Reimplement the interactive renderer 2022-11-07 22:02:44 -08:00
sigint_windows.go [cli] Reimplement the interactive renderer 2022-11-07 22:02:44 -08:00
tableutil.go [color] Use graphemes to measure strings. 2022-11-09 08:23:00 -08:00
tree.go Export a helper for rendering progress to a "simple" terminal (#17147) 2024-09-06 03:17:49 +00:00
tree_test.go Clean up display rewinding and wrapping (#17007) 2024-08-19 15:30:48 +00:00
watch.go Use events to report downloads as system messages (#17019) 2024-09-03 12:12:04 +00:00