comparison src/evalfunc.c @ 19659:bc70c52c5c12 v8.2.0386

patch 8.2.0386: part from unfinished patch got included Commit: https://github.com/vim/vim/commit/0bdbc10e8a74e7dd447cd975fb1445bbdcbb4f37 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 16:51:40 2020 +0100 patch 8.2.0386: part from unfinished patch got included Problem: Part from unfinished patch got included. Solution: Undo that part.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 17:00:04 +0100
parents da791e5c0139
children ad60bc3a8087
comparison
equal deleted inserted replaced
19658:01aefc00a2a2 19659:bc70c52c5c12
2468 if (keys_esc != NULL) 2468 if (keys_esc != NULL)
2469 { 2469 {
2470 if (lowlevel) 2470 if (lowlevel)
2471 { 2471 {
2472 #ifdef USE_INPUT_BUF 2472 #ifdef USE_INPUT_BUF
2473 int idx; 2473 add_to_input_buf(keys, (int)STRLEN(keys));
2474 int len = (int)STRLEN(keys);
2475
2476 for (idx = 0; idx < len; ++idx)
2477 {
2478 // if a CTRL-C was typed, set got_int
2479 if (keys[idx] == 3 && ctrl_c_interrupts)
2480 got_int = TRUE;
2481 else
2482 add_to_input_buf(keys + idx, 1);
2483 }
2484 #else 2474 #else
2485 emsg(_("E980: lowlevel input not supported")); 2475 emsg(_("E980: lowlevel input not supported"));
2486 #endif 2476 #endif
2487 } 2477 }
2488 else 2478 else