ui: ellipsize fake-terminal pane lines wider than the terminal
Overflowing log lines in the pkh deb / pkh build rolling pane used to wrap onto a second line, corrupting the pane layout. Truncate them to the terminal width (minus the pane prefix) by display width and append an ellipsis instead; lines are left whole when the terminal size is unknown.
This commit is contained in:
@@ -34,6 +34,7 @@ ssh2 = "0.9.5"
|
||||
gpgme = "0.11"
|
||||
serde_yaml = "0.9"
|
||||
lazy_static = "1.4.0"
|
||||
unicode-width = "0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
test-log = "0.2.19"
|
||||
|
||||
Reference in New Issue
Block a user