[Konsole-devel] [Bug 206709] "Clear Scrollback & Reset" feature doesn't work with zsh prompt

Robert Knight robertknight at gmail.com
Wed Sep 9 09:59:50 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=206709





--- Comment #3 from Robert Knight <robertknight gmail com>  2009-09-09 11:59:49 ---
> Hmm... echo -n "asdf" and then changing the width causes zsh
> to redraw its prompt. Could you provide more details?

When you press Ctrl+Shift+X Konsole clears the display and resets the state of
the terminal and then jiggles the size of the window by sending a couple of
'signals' to the shell:

window_size_changed(current_lines,current_columns+1)
window_size_changed(current_lines,current_columns-1)

This causes bash to redraw the prompt.  That does not appear to work for zsh. 
I have not investigated the issue in more detail.  Suggestions welcome although
they would ideally have to work for bash as well since Konsole does not always
know which shell is currently being used.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list