Skip to content

Commit

Permalink
Add insert key on ms-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
edp1096 committed Apr 27, 2024
1 parent 51197a8 commit 5244c02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tty_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ func (tty *TTY) readRune() (rune, error) {
case 0x28: // down
tty.rs = []rune{0x5b, 0x42}
return rune(0x1b), nil
case 0x2D: // Insert
tty.rs = []rune{0x5b, 0x32, 0x7e}
return rune(0x1b), nil
case 0x2e: // delete
tty.rs = []rune{0x5b, 0x33, 0x7e}
return rune(0x1b), nil
Expand Down

0 comments on commit 5244c02

Please sign in to comment.