Skip to content
Myr

Fix Home, End on rxvt-unicode (#3507)

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

authored by Tomáš Janoušek · committed by GitHub · parent 84bb350 · Browse files · 1 file+5 added−1 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+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:src/tui/light.go+5 added-1 removed
400 unmodified lines
401 case 'R':402 return Event{F3, 0, nil}403 case 'S':404 return Event{F4, 0, nil}405 case '1', '2', '3', '4', '5', '6':405 case '1', '2', '3', '4', '5', '6', '7', '8':406 if len(r.buffer) < 4 {407 return Event{Invalid, 0, nil}408 }409 *sz = 4
42 unmodified lines
452 case '5':453 return Event{PgUp, 0, nil}454 case '6':455 return Event{PgDn, 0, nil}456 case '7':457 return Event{Home, 0, nil}458 case '8':459 return Event{End, 0, nil}460 case '1':461 switch r.buffer[3] {462 case '~':463 return Event{Home, 0, nil}
656 unmodified lines