nasmfm

sfm rewrite
git clone https://git.afify.dev/nasmfm.git
Log | Files | Refs | LICENSE

commit 7ac0ea25a68b7f8693b88b1c68b5255936898e1d
parent 996dd0556d696ec21c4ac9f26464ff9b61f68388
Author: afify <hassan@afify.dev>
Date:   Sun, 17 Jul 2022 08:22:46 +0300

[feat] draw_frame use unicode

Diffstat:
Mconfig.def.h | 2++
Mnasmfm.c | 2+-
Mterm.c | 2++
3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -22,4 +22,6 @@ static const Cpair cprompt = { 33, 0, NORM }; static const Cpair csearch = { 255, 0, NORM }; static const Cpair cstatus = { 243, 0, NORM }; +static int show_dotfiles = 1; +static const char dtfmt[] = "%Y"; #endif /* CONFIG_H */ diff --git a/nasmfm.c b/nasmfm.c @@ -722,7 +722,7 @@ start(void) //PERROR(fsev_init() < 0); listdir(&panes[Left]); - //listdir(&panes[Right]); + listdir(&panes[Right]); //pthread_create(&fsev_thread, NULL, read_th, NULL); diff --git a/term.c b/term.c @@ -167,6 +167,8 @@ draw_frame() Rune d = 0x2588; str_len = utf8encode(d, str); +// char str[] = "\xe2\x96\x88"; +// str_len = 3; // TODO move_to_col char buf[16];