When "Clear Scrollback & reset" is used in konsole the output is cleared but the command prompt isn't displayed as expected, I have to press Enter to see the command prompt. This is similar to bug 149562 ...
How should "bash" now that it should redisplay the prompt when the terminal is reset? xterm cannot do this either.
No idea :) From what I gathered from comment 1 in bug 149562 it was more of a trick/hack to make that work.
Has a decision been made about this bug? (even close as invalid/wontfix if there's no intention to fix). Thanks.
A recent commit makes this work under bash again. The 'refresh' is a hack as comment #2 suggests.
Created attachment 57562 [details] Patch to force prompt to be redisplayed Any opinions about this code? basically sends SIGINT or ^C to the shell after clearing the screen.
This bug is fixed already AFAICS, with the fix in bug 242110. (Sorry for not posting earlier).
Not really - it works w/ bash now - but the old code is hackish as it resizes the window - I would prefer something else that works for all shells and clears the command line.
OK. I only use bash, so I don't know how it is with other shells. (Thanks for the fix anyway :)).
Git commit ccfc3f859c5695cc08895570efd0831db0d3b9b0 by Jekyll Wu. Committed on 09/04/2012 at 13:09. Pushed by jekyllwu into branch 'master'. Introduce small delay to avoid updating Pty size too quickly Some terminal application does not update its display when Pty size changes quickly in a row. Zsh seems a typical example. Thanks to Franz Fellner<alpine.art.de@googlemail.com> for the research and solution. Related: bug 164099 FIXED-IN: 4.8.3 M +2 -0 src/Session.cpp http://commits.kde.org/konsole/ccfc3f859c5695cc08895570efd0831db0d3b9b0
Git commit aea2091d1cc226a155331fa3a1f176ff005fc690 by Jekyll Wu. Committed on 09/04/2012 at 13:09. Pushed by jekyllwu into branch 'KDE/4.8'. Introduce small delay to avoid updating Pty size too quickly Some terminal application does not update its display when Pty size changes quickly in a row. Zsh seems a typical example. Thanks to Franz Fellner<alpine.art.de@googlemail.com> for the research and solution. Related: bug 164099 FIXED-IN: 4.8.3 (cherry picked from commit ccfc3f859c5695cc08895570efd0831db0d3b9b0) M +2 -0 src/Session.cpp http://commits.kde.org/konsole/aea2091d1cc226a155331fa3a1f176ff005fc690
Today I upgraded form 4.8.5 (?) where this always worked fine for me, to 4.13.3, where I encountered the problem for the first time. Found this old bug as the most relevant place to discuss. When I "clear scrollback and reset," the terminal goes completely blank and hangs there until I enter any input, at which point the prompt appears with my input. Any ideas?
Found bug 335047 where this issue has been (re)reported, so please disregard my comment above, sorry for the noise.