1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-28 09:18:05 +11:00
collapseos/blk/105
Virgil Dupras 5bf3baff05 editor: add edit buffer
Also, add word "C!+" and fix PSP leak in FILL.
2020-05-01 13:17:40 -04:00

8 lines
213 B
Plaintext

( user-facing lines are 1-based )
: T 1- DUP 64 * EDPOS ! _pln ;
: P _type EDBUF EDPOS @ _cpos 64 MOVE BLK!! ;
: _mvln+ ( ln -- move ln 1 line further )
DUP 14 > IF DROP EXIT THEN
_lpos DUP 64 + 64 MOVE
;