comparison src/normal.c @ 31293:ff4473b3fc58 v9.0.0980

patch 9.0.0980: the keyboard state response may end up in a shell command Commit: https://github.com/vim/vim/commit/733a69b29f0b0c3d2ddca463a41bdd912379bc5e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 1 12:03:47 2022 +0000 patch 9.0.0980: the keyboard state response may end up in a shell command Problem: The keyboard state response may end up in a shell command. Solution: Only request the keyboard protocol state when the typeahead is empty, no more commands are following and not exiting. Add the t_RK termcap entry for this.
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Dec 2022 13:15:03 +0100
parents 1a9e44a45614
children bb797331e21b
comparison
equal deleted inserted replaced
31292:f319f6200220 31293:ff4473b3fc58
453 { 453 {
454 MAY_WANT_TO_LOG_THIS; 454 MAY_WANT_TO_LOG_THIS;
455 455
456 // Re-enable bracketed paste mode and modifyOtherKeys 456 // Re-enable bracketed paste mode and modifyOtherKeys
457 out_str(T_BE); 457 out_str(T_BE);
458 out_str(T_CTI); 458 out_str_t_TI();
459 } 459 }
460 460
461 if (langmap_active) 461 if (langmap_active)
462 { 462 {
463 // Undo the decrement done above 463 // Undo the decrement done above