byobu-prompt color prompt corrupts long command lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Undecided
|
Unassigned | ||
byobu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The default byobu-prompt color prompt results in command line corruption when editing lines which exceed one line (including prompt). It's especially bad when trying to use the 'cursor-up' to get an old command line and edit it (or even see it properly), but also affects new commands lines.
For command history a workaround is to use fc -r <history_position> instead. For new lines there is no workaround with byobo-prompt sourced.
The best workaround is to comment out sourcing of byobu-prompt in ''/home/
If that is a downstream addition please let me know and I will report there (actually going to do that anyway since picking up a change to byobu will probably have to filter through byobu upstream -> ubuntu -> Pop! OS otherwise).
Changed in byobu: | |
status: | New → Fix Released |
Here's a screenshot of the corruption happening.