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

View File

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