G keybind (end) wasn't setting $cur so it would open the wrong item.

line_print $y $@ always sets $cur correctly.
This commit is contained in:
Nathan Sketch 2021-01-07 02:51:25 -05:00
parent 8920178753
commit ec27f90096
1 changed files with 1 additions and 0 deletions

1
shfm
View File

@ -325,6 +325,7 @@ main() {
G?)
y=$#
y2=$(($# < bottom ? $# : bottom))
line_print "$y" "$@"
redraw "$@"
;;