Mercurial > vim
view src/proto/evalbuffer.pro @ 31219:42acbd0cb313 v9.0.0943
patch 9.0.0943: pretending to go out of Insert mode when Esc is received
Commit: https://github.com/vim/vim/commit/d330e8422d1c4670a241ce8ebde4c37918538dce
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 24 20:23:24 2022 +0000
patch 9.0.0943: pretending to go out of Insert mode when Esc is received
Problem: Pretending to go out of Insert mode when Esc is received has side
effects.
Solution: When the kitty keyboard protocol is enabled expect Esc to always
be the start of an escape sequence.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Nov 2022 21:30:04 +0100 |
parents | 7831da568864 |
children |
line wrap: on
line source
/* evalbuffer.c */ int set_ref_in_buffers(int copyID); buf_T *buflist_find_by_name(char_u *name, int curtab_only); buf_T *find_buffer(typval_T *avar); void f_append(typval_T *argvars, typval_T *rettv); void f_appendbufline(typval_T *argvars, typval_T *rettv); void f_bufadd(typval_T *argvars, typval_T *rettv); void f_bufexists(typval_T *argvars, typval_T *rettv); void f_buflisted(typval_T *argvars, typval_T *rettv); void f_bufload(typval_T *argvars, typval_T *rettv); void f_bufloaded(typval_T *argvars, typval_T *rettv); void f_bufname(typval_T *argvars, typval_T *rettv); void f_bufnr(typval_T *argvars, typval_T *rettv); void f_bufwinid(typval_T *argvars, typval_T *rettv); void f_bufwinnr(typval_T *argvars, typval_T *rettv); void f_deletebufline(typval_T *argvars, typval_T *rettv); void f_getbufinfo(typval_T *argvars, typval_T *rettv); void f_getbufline(typval_T *argvars, typval_T *rettv); void f_getbufoneline(typval_T *argvars, typval_T *rettv); void f_getline(typval_T *argvars, typval_T *rettv); void f_setbufline(typval_T *argvars, typval_T *rettv); void f_setline(typval_T *argvars, typval_T *rettv); void switch_buffer(bufref_T *save_curbuf, buf_T *buf); void restore_buffer(bufref_T *save_curbuf); void switch_to_win_for_buf(buf_T *buf, switchwin_T *switchwin, bufref_T *save_curbuf); void restore_win_for_buf(switchwin_T *switchwin, bufref_T *save_curbuf); /* vim: set ft=c : */