1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-25 04:48:06 +11:00

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
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
;