aboutsummaryrefslogtreecommitdiffstats
path: root/macpoll.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-08-03 07:06:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-08-03 07:06:59 -0700
commit8534e9e277723a48cff9f791253a856506e72aa1 (patch)
tree12d1a243fc0c0193d5de0aa48754ad2c43a70e26 /macpoll.c
parent60ef2a41f547fb5b0a3cfd553f65cfbd700b3da6 (diff)
downloadpw-8534e9e277723a48cff9f791253a856506e72aa1.tar.gz
pw-8534e9e277723a48cff9f791253a856506e72aa1.tar.bz2
pw-8534e9e277723a48cff9f791253a856506e72aa1.zip
ui fix: don't clear to end of screen.
* pw.c (clrline): use the [K sequence rather than the [J sequence so that we only clear this line, not to the rest of the screen. Clearing the rest of the screen trashes any scroll-protected status lines the user may have set up. Vim respects this, for instance. I have a setup like that now and noticed the issue that when I run pw, my status stuff disappears.
Diffstat (limited to 'macpoll.c')
0 files changed, 0 insertions, 0 deletions