diff options
author | sin <sin@2f30.org> | 2015-03-11 18:55:28 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2015-03-11 18:56:53 +0000 |
commit | 3682c720ba1eb4ce05ea756c4b287b2b83fbae3e (patch) | |
tree | 5e2c438060c23cf2000ab97a5a9bacc9b3d14b4e /noice.c | |
parent | cdf8a429c5fe8efc176132aed266db2e6746aeee (diff) | |
download | nnn-3682c720ba1eb4ce05ea756c4b287b2b83fbae3e.tar.gz |
Add C-l to force a redraw
Often I am waiting for a file to download and be renamed from
.foo.part to .foo. Forcing a redraw is a simple way to check if
the file has completed downloading.
Diffstat (limited to 'noice.c')
-rw-r--r-- | noice.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,7 @@ enum action { SEL_SH, SEL_CD, SEL_MTIME, + SEL_REDRAW, }; struct key { @@ -817,6 +818,8 @@ moretyping: case SEL_MTIME: mtimeorder = !mtimeorder; goto out; + case SEL_REDRAW: + goto out; } } |