[Konsole-devel] [Bug 149562] Clear Scrollback & Reset should return immediately the prompt

Robert Knight robertknight at gmail.com
Wed Sep 5 19:21:40 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149562         
robertknight gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From robertknight gmail com  2007-09-05 21:21 -------
The shell will be ready to receive commands after "Clear Scrollback & Reset" is triggered, it is just that the prompt text gets removed in the process of clearing the screen.

I'm not sure of the best way to do this.  One would be to keep the last line of the previous contents of the display intact and move it to the top of the screen.  However this will not clear any extra rubbish which has been printed to the terminal by other processes (which does happen sometimes) or help with multi-line prompts.

For now I committed a trick which sets the window size information (shared between the shell and Konsole) to a slightly larger size and then back to normal gain.  That works for bash, but not zsh or fish.



More information about the konsole-devel mailing list