mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 02:31:01 +11:00
5052efb60f
Most of the time, this output would be hidden by the next screen update, except when editing the last line.
13 lines
385 B
Plaintext
13 lines
385 B
Plaintext
: $g ACC @ selblk ;
|
|
: $[ BLK> @ acc@ - selblk ;
|
|
: $] BLK> @ acc@ + selblk ;
|
|
: $t PREVBLK @ selblk ;
|
|
: $I mode! 'I' EMIT IBUF 1 buftype _i contents mode! SPC ;
|
|
: $F mode! 'F' EMIT FBUF 2 buftype _F setpos mode! SPC ;
|
|
: $Y Y ;
|
|
: $E _E contents ;
|
|
: $X acc@ _X contents ;
|
|
: $h -1 cmv ; : $l 1 cmv ; : $k -64 cmv ; : $j 64 cmv ;
|
|
: $H EDPOS @ 0x3c0 AND pos! ;
|
|
: $L EDPOS @ 0x3f OR pos! ;
|