diff options
author | Gregory Anders <greg@gpanders.com> | 2025-03-05 21:28:05 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 21:28:05 -0600 |
commit | 0c0352783fca7e9c56cd5ca8253834fee77c9d59 (patch) | |
tree | fc8da7fc6e0609ad9eea96e24ccfa54fcec4aea1 /runtime/lua/vim/termcap.lua | |
parent | 9c4f2cde7bef5decb2de98edfae7b5a2e5146cf4 (diff) | |
download | rneovim-0c0352783fca7e9c56cd5ca8253834fee77c9d59.tar.gz rneovim-0c0352783fca7e9c56cd5ca8253834fee77c9d59.tar.bz2 rneovim-0c0352783fca7e9c56cd5ca8253834fee77c9d59.zip |
fix(tui): remove DCS escaping in tmux (#32723)
Per https://github.com/tmux/tmux/issues/4386, tmux does not support DCS
responses, even if the initial request was escaped.
Diffstat (limited to 'runtime/lua/vim/termcap.lua')
-rw-r--r-- | runtime/lua/vim/termcap.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/lua/vim/termcap.lua b/runtime/lua/vim/termcap.lua index 23666a337a..2789aacb90 100644 --- a/runtime/lua/vim/termcap.lua +++ b/runtime/lua/vim/termcap.lua @@ -71,11 +71,6 @@ function M.query(caps, cb) local query = string.format('\027P+q%s\027\\', table.concat(encoded, ';')) - -- If running in tmux, wrap with the passthrough sequence - if os.getenv('TMUX') then - query = string.format('\027Ptmux;%s\027\\', query:gsub('\027', '\027\027')) - end - io.stdout:write(query) timer:start(1000, 0, function() |