Remove readline legacy input function 'winch' and replace its functionality with an event handler function. Once again make the null keybinding do nothing. There are various sitauations where you want to perform a repaint at just the right time, and more or less by luck it worked very well to do this on null, but this really shouldn't happen and no longer does. Hopefully if new repainting issues turn up, they can be fixed at the root instead of once again reapplying this broken bandaid.

darcs-hash:20070930225354-75c98-8e2b518aa0ef694cee889c1c599ff4f158d9eb7f.gz
This commit is contained in:
liljencrantz
2007-10-01 08:53:54 +10:00
parent 5870ee7723
commit 4b85eb32d7
6 changed files with 30 additions and 24 deletions

View File

@@ -195,6 +195,9 @@ function __fish_config_interactive -d "Initializations that should be performed
eval $fish_key_bindings
end ^/dev/null
function __fish_winch_handler --on-signal winch
commandline -f repaint
end
end