]> git.proxmox.com Git - pve-installer.git/commit
ui: stdio: replace newlines with whitespaces in prompt messages
authorChristoph Heiss <c.heiss@proxmox.com>
Fri, 17 Nov 2023 13:45:26 +0000 (14:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Nov 2023 16:08:29 +0000 (17:08 +0100)
commit7295fd7db05d4a5d00cb86a8915a4930b2abf8d9
tree737a967a14e233461378d7500c047d268ec56b31
parent89c135161270e3e5a32063ca6152983f5e74b651
ui: stdio: replace newlines with whitespaces in prompt messages

The line-based protocol currently used cannot handle this properly, so
introduce this as a stop-gap measure - otherwise messages might be cut
off.

This makes it work for now, and the text is wrapped correctely for the
screen width in the TUI anyway - which is the only user of this so far.

Will be reworked properly later on.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
 [ TL: add fix-me comment ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/UI/StdIO.pm