editor: improve I

Make it print edited line and also have it adjust cursor pos.
This commit is contained in:
Virgil Dupras 2020-05-06 17:41:49 -04:00
parent ab6a2688fe
commit 690d9e6313
1 changed files with 2 additions and 1 deletions

View File

@ -11,5 +11,6 @@
LOOP
ELSE DROP ( ilen becomes nbc )
THEN
SWAP DROP IBUF EDPOS @ _cpos ROT MOVE
SWAP DROP DUP IBUF EDPOS @ _cpos ROT MOVE ( ilen )
EDPOS +! EDPOS @ 64 / _pln
;