Browse Source

Have RDLN spit newlines more consistently

On CRLF interfaces, newlines were mostly broken after previous
RDLN consolidation.
master
Virgil Dupras 3 years ago
parent
commit
a9cb5a42d4
2 changed files with 2 additions and 2 deletions
  1. +2
    -2
      blk.fs
  2. BIN
      cvm/stage.bin

+ 2
- 2
blk.fs View File

@@ -1801,9 +1801,9 @@ SYSVARS 0x55 + :** KEY?
DUP BS? IF
IN> @ IN( > IF -1 IN> +! BS EMIT THEN SPC> BS EMIT
ELSE DUP LF = IF DROP CR THEN ( same as CR )
DUP EMIT ( echo back )
DUP SPC >= IF DUP EMIT ( echo back ) THEN
DUP IN> @ ! 1 IN> +! THEN ( c )
DUP CR = SWAP EOT? OR UNTIL IN( IN> ! ;
DUP CR = SWAP EOT? OR UNTIL NL> IN( IN> ! ;
( ----- 363 )
: RDLN<
IN> @ C@ ( c )


BIN
cvm/stage.bin View File


Loading…
Cancel
Save