[konsole] [Bug 464384] Up / down history damaged if last command output did not end in newline
donquixote
bugzilla_noreply at kde.org
Wed Jan 25 01:15:58 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=464384
--- Comment #7 from donquixote <py7smpbu at anonaddy.me> ---
> Add '\[\e]133;L\a\]' at the start of PS1. This is a conditional newline, so it does nothing if the previous output ended in newline, and a newline if the last output did not end in newline.
This sounds great, but it does nothing for me..
~ $ echo $PS1
\[\e]133;L\a\]\[\e]0;\u@\h:
\w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\w\[\033[00m\] \$
~ $ echo -n hello
hello~ $
~ $ export PS1="\[\e]133;L\a\] \$"
$ecoh^C
$export PS1="\[\e]133;L\a\] \$ "
$ echo -n hello
hello $
The "hello" is still always on the same line.
Btw, where could I look up these character sequences?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list