diff --git a/apps/ed/main.asm b/apps/ed/main.asm index fbdd3f8..3672c53 100644 --- a/apps/ed/main.asm +++ b/apps/ed/main.asm @@ -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: