sfm

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

commit cffcb2959cf01ee9aaeb3ddac214114f6ffc1aee
parent 754b2799d0359b20cf5ec528af5cf25c13e8a3e0
Author: afify <hassan@afify.dev>
Date:   Sun, 19 Jul 2020 08:11:25 +0300

[fix] resize highlight

problem: when resize highlight removed
solution: call add_hi() for cpane

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

diff --git a/sfm.c b/sfm.c @@ -1493,6 +1493,7 @@ t_resize(void) chdir(pane_l.dirn); cpane = &pane_l; refresh_pane(); + add_hi(&pane_l, pane_l.hdir-1); } else if (cpane == &pane_r) { chdir(pane_l.dirn); cpane = &pane_l; @@ -1500,6 +1501,7 @@ t_resize(void) chdir(pane_r.dirn); cpane = &pane_r; refresh_pane(); + add_hi(&pane_r, pane_r.hdir-1); } tb_present();