Make the directory history keyboard shortcuts repaint the screen. Otherwise, the prompt won't reflect the new CWD. This is needed because of the reduced amounts of repainting done since 1.22.2

darcs-hash:20061214182313-ac50b-a912bcc0fac6e1d78f116e19f31f1c50ffc409cb.gz
This commit is contained in:
axel 2006-12-15 04:23:13 +10:00
parent c1945f8275
commit c73d165165
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
function nextd-or-forward-word function nextd-or-forward-word
if test -z (commandline) if test -z (commandline)
nextd nextd
commandline -f repaint
else else
commandline -f forward-word commandline -f forward-word
end end

View file

@ -1,6 +1,7 @@
function prevd-or-backward-word function prevd-or-backward-word
if test -z (commandline) if test -z (commandline)
prevd prevd
commandline -f repaint
else else
commandline -f backward-word commandline -f backward-word
end end