Skip to content

Commit

Permalink
write device attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
last-arg committed Oct 31, 2024
1 parent 8dfb2c6 commit 5db6607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/emu/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (t *State) CsiDispatch(params []int64, intermediates []byte, ignore bool, r
t.moveTo(t.cur.C, t.cur.R+c.maxarg(0, 1))
case 'c': // DA - device attributes
if c.arg(0, 0) == 0 {
// TODO: write vt102 id
t.w.Write([]byte("\033[?6c"))
}
case 'C', 'a': // CUF, HPR - cursor <n> forward
t.moveTo(t.cur.C+c.maxarg(0, 1), t.cur.R)
Expand Down

0 comments on commit 5db6607

Please sign in to comment.