diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-07-17 16:37:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 16:37:45 -0400 |
| commit | e0e7f65b74f7e0e901b415bbb62f6ce52a13b7cb (patch) | |
| tree | b6364dcf69b1a93e8877eebc610e6e602d082fef /test/functional/vimscript/executable_spec.lua | |
| parent | 85e0559d46c700e810ef605d39f9b376ad497ea1 (diff) | |
| download | rneovim-e0e7f65b74f7e0e901b415bbb62f6ce52a13b7cb.tar.gz rneovim-e0e7f65b74f7e0e901b415bbb62f6ce52a13b7cb.tar.bz2 rneovim-e0e7f65b74f7e0e901b415bbb62f6ce52a13b7cb.zip | |
refactor(detach): eliminate `nvim__ui_detach` #40793
Problem:
`nvim__ui_detach` was added in 85e0559d46c7 in order to implement
`detach_others` from Lua. Using Lua in this case is doing more harm than
good.
Solution:
Extract `ui_detach_channel`, which also allows it to be used for the
"self detach" path from `ex_detach`.
Bonus: the old MSWIN path always called `os_swap_to_hidden_console()`;
now `ui_detach_channel` only does so for a stdio channel. For the common
stdio TUI this is identical; for a socket UI it's more correct (no
parent console to swap).
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions