fe

terminal file explorer and picker

git clone https://9o.is/git/fe.git

commit 6f4c78fff5a33afee7f2a1aa25f997d3507ecb96
parent 62b0a4e9a5c8b38e6cebb2e3887f2a14b1db6a5c
Author: Jul <jul@9o.is>
Date:   Tue, 20 Jan 2026 13:16:32 -0500

fix off-by-one error on clear

Diffstat:
Mtty_interface.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tty_interface.c b/tty_interface.c @@ -13,7 +13,7 @@ static void clear(tty_interface_t *state) { tty_setcol(tty, 0); size_t line = 0; - while (line++ < state->options->num_files) { + while (line++ <= state->options->num_files) { tty_newline(tty); } tty_clearline(tty);