Fix position of cursor to avoid extended display of line.

This commit is contained in:
Renaud 2021-09-16 09:46:02 +08:00
parent 8726e5b8aa
commit 2e69f9410f
1 changed files with 2 additions and 3 deletions

View File

@ -52,10 +52,9 @@ set %absD 0 # absolute direction: looking EAST
set %relD &mod &add %relD 1 4
!endwhile
# else turn around
set %absD &mod &add %absD 2 4 # face back!
set %absD &mod &add %absD 2 4 # face back!
:moveon
!endwhile
set $curline %y
set $curcol %x
set $curcol &add %x -1
unmark-buffer