소스 검색

ed: update curline after a, i and d

pull/10/head
Virgil Dupras 5 년 전
부모
커밋
c96c8e7df0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      apps/ed/main.asm

+ 2
- 0
apps/ed/main.asm 파일 보기

@@ -116,6 +116,7 @@ edMain:
xor a
ret
.doD:
ld (ED_CURLINE), de
; bufDelLines expects an exclusive upper bound, which is why we inc DE.
inc de
call bufDelLines
@@ -127,6 +128,7 @@ edMain:
call bufScratchpadAdd ; --> HL
; insert index in DE, line offset in HL. We want the opposite.
ex de, hl
ld (ED_CURLINE), hl
call bufInsertLine
call printcrlf
jr .mainLoop


불러오는 중...
취소
저장