summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tty_interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tty_interface.c b/src/tty_interface.c
index 6e09852..a7d506e 100644
--- a/src/tty_interface.c
+++ b/src/tty_interface.c
@@ -279,6 +279,10 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */
{"\x1b[D", action_left}, /* LEFT */
{"\x1bOC", action_right}, /* RIGHT */
{"\x1b[C", action_right}, /* RIGHT */
+ {"\x1b[1~", action_beginning}, /* HOME */
+ {"\x1b[H", action_beginning}, /* HOME */
+ {"\x1b[4~", action_end}, /* END */
+ {"\x1b[F", action_end}, /* END */
{"\x1b[A", action_prev}, /* UP */
{"\x1bOA", action_prev}, /* UP */
{"\x1b[B", action_next}, /* DOWN */