[fix] resize & openfiles, cursor position
commit3305c44909d940566a1e2c018b36a54131d0c629
authorafify <hassan@afify.dev>
Mon, 28 Sep 2020 20:35:42 +0000 (28 23:35 +0300)
committerafify <hassan@afify.dev>
Mon, 28 Sep 2020 20:35:42 +0000 (28 23:35 +0300)
treeba94c4756f9f20968c4d913125916ffce1c44bf0
parent38bb618c7b31e4f9a21608ff6915e95c715c50f5
[fix] resize & openfiles, cursor position

problem 1: t_resize() call set_panes() with arg PtP "part of the pane"
which should keep the pane.firstrow.
problem 2: after exiting opnf(), t_resize() is called
same as problem 1.

solution: in set_panes() move paneX.firstrow if AllP arg is set.
sfm.c