aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index b5e1e586bd..cf4174f702 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1562,11 +1562,6 @@ int char_avail(void)
{
int retval;
- // When disable_char_avail_for_testing(1) was called pretend
- // there is no typeahead
- if (disable_char_avail_for_testing) {
- return false;
- }
no_mapping++;
retval = vpeekc();
--no_mapping;