Skip to content
Myr

Fix #1657: alt-0 to alt-9

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 6577388 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:src/tui/light.go+3 added
516 unmodified lines
517 } // r.buffer[1]518 if r.buffer[1] >= 'a' && r.buffer[1] <= 'z' {519 return Event{AltA + int(r.buffer[1]) - 'a', 0, nil}520 }521 if r.buffer[1] >= '0' && r.buffer[1] <= '9' {522 return Event{Alt0 + int(r.buffer[1]) - '0', 0, nil}523 }524 return Event{Invalid, 0, nil}525}526527func (r *LightRenderer) mouseSequence(sz *int) Event {
420 unmodified lines