mirror of
https://github.com/hsoft/collapseos.git
synced 2025-04-05 06:48:39 +11:00
ed: auto increment ED_CURLINE
This increases the binary by 1 instruction, but feels useful following at least GNU ed's behavior.
This commit is contained in:
parent
a7aa2fc702
commit
b52730818a
@ -144,6 +144,8 @@ edMain:
|
||||
inc hl
|
||||
jr .doP
|
||||
.doPEnd:
|
||||
; increment ED_CURLINE to mimic Unix ed behavior
|
||||
inc hl
|
||||
ld (ED_CURLINE), hl
|
||||
jp .mainLoop
|
||||
.error:
|
||||
|
Loading…
Reference in New Issue
Block a user