Skip to content

Commit

Permalink
Merge pull request troglobit#54 from tejing1/master
Browse files Browse the repository at this point in the history
handle home and end keys in urxvt
  • Loading branch information
troglobit authored Jul 6, 2021
2 parents 0f4f5b0 + ec62e11 commit 36e0921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editline.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,8 @@ static el_status_t meta(void)
case '4': tty_get(); return end_line(); /* End */
case '5': tty_get(); return CSstay; /* PgUp */
case '6': tty_get(); return CSstay; /* PgDn */
case '7': tty_get(); return beg_line(); /* Home (urxvt) */
case '8': tty_get(); return end_line(); /* End (urxvt) */
case 'A': return h_prev(); /* Up */
case 'B': return h_next(); /* Down */
case 'C': return fd_char(); /* Left */
Expand Down

0 comments on commit 36e0921

Please sign in to comment.