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 04:45:53 -05:00
parent 8920178753
commit ec27f90096
+1
View File
@@ -325,6 +325,7 @@ main() {
G?)
y=$#
y2=$(($# < bottom ? $# : bottom))
line_print "$y" "$@"
redraw "$@"
;;