sfm

simple file manager
git clone git://git.afify.dev/sfm
Log | Files | Refs | README | LICENSE

commit f35e71bebd6df1846bf3780be767b31db6cd480f
parent 4fafcd23622f55a4964ac75521bad8132b645c70
Author: afify <hassan@afify.dev>
Date:   Sat, 26 Jun 2021 20:08:33 +0300

[fix] get_usrinput() ignore SPACE key

Diffstat:
Msfm.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sfm.c b/sfm.c @@ -963,6 +963,9 @@ get_usrinput(char *out, size_t sout, const char *fmt, ...) out[counter - 1] = '\0'; return 0; + } else if (fev.key == TB_KEY_SPACE) { + break; + } else { if (counter < sout) { print_xstatus((char)fev.ch,