aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r--src/ft_key_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index 92928ea..395761e 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -32,6 +32,7 @@ static uint16_t
(tmp_code == 5) ? (keycode = UINT16_MAX) : 0;
(tmp_code == FT_ESC_KEY) ? (keycode = FT_ESC_KEY) : 0;
(tmp_code == FT_F1_KEY) ? (keycode = FT_F1_KEY) : 0;
+ (tmp_code == FT_TAB_KEY) ? (keycode = FT_TAB_KEY) : 0;
return (keycode);
}
@@ -66,7 +67,7 @@ int
}
else if (keycode == FT_ESC_KEY)
return (ft_exit(0, (clist)));
- else if (keycode == FT_F1_KEY)
+ else if (keycode == FT_F1_KEY || keycode == FT_TAB_KEY)
return (ft_f1_key(clist));
return (0);
}