-
- Downloads
feat(tui): use TermResponse event for OSC responses (#25868)
When the terminal emulator sends an OSC sequence to Nvim (as a response to another OSC sequence that was first sent by Nvim), populate the OSC sequence in the v:termresponse variable and fire the TermResponse event. The escape sequence is also included in the "data" field of the autocommand callback when the autocommand is defined in Lua. This makes use of the already documented but unimplemented TermResponse event. This event exists in Vim but is only fired when Vim receives a primary device attributes response. Fixes: https://github.com/neovim/neovim/issues/25856
Showing
- runtime/doc/api.txt 15 additions, 0 deletionsruntime/doc/api.txt
- runtime/doc/autocmd.txt 19 additions, 6 deletionsruntime/doc/autocmd.txt
- runtime/doc/eval.txt 4 additions, 12 deletionsruntime/doc/eval.txt
- runtime/doc/news.txt 3 additions, 0 deletionsruntime/doc/news.txt
- runtime/doc/vim_diff.txt 2 additions, 0 deletionsruntime/doc/vim_diff.txt
- runtime/lua/vim/_meta/api.lua 11 additions, 0 deletionsruntime/lua/vim/_meta/api.lua
- src/nvim/api/ui.c 27 additions, 0 deletionssrc/nvim/api/ui.c
- src/nvim/tui/input.c 26 additions, 0 deletionssrc/nvim/tui/input.c
Loading
Please register or sign in to comment