mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
docs: builtin TUI is no longer channel 0 (#21794)
This commit is contained in:
parent
8b86cb8f5b
commit
7af2c52ef0
@ -1133,7 +1133,7 @@ nvim_list_uis() *nvim_list_uis()*
|
||||
• "width" Requested width of the UI
|
||||
• "rgb" true if the UI uses RGB colors (false implies |cterm-colors|)
|
||||
• "ext_..." Requested UI extensions, see |ui-option|
|
||||
• "chan" Channel id of remote UI or 0 for TUI
|
||||
• "chan" |channel-id| of remote UI
|
||||
|
||||
nvim_list_wins() *nvim_list_wins()*
|
||||
Gets the current list of window handles.
|
||||
|
@ -681,16 +681,12 @@ FuncUndefined When a user function is used but it isn't
|
||||
UIEnter After a UI connects via |nvim_ui_attach()|, or
|
||||
after builtin TUI is started, after |VimEnter|.
|
||||
Sets these |v:event| keys:
|
||||
chan: 0 for builtin TUI
|
||||
1 for |--embed|
|
||||
|channel-id| of the UI otherwise
|
||||
chan: |channel-id| of the UI
|
||||
*UILeave*
|
||||
UILeave After a UI disconnects from Nvim, or after
|
||||
builtin TUI is stopped, after |VimLeave|.
|
||||
Sets these |v:event| keys:
|
||||
chan: 0 for builtin TUI
|
||||
1 for |--embed|
|
||||
|channel-id| of the UI otherwise
|
||||
chan: |channel-id| of the UI
|
||||
*InsertChange*
|
||||
InsertChange When typing <Insert> while in Insert or
|
||||
Replace mode. The |v:insertmode| variable
|
||||
|
@ -1834,7 +1834,7 @@ Dictionary nvim__stats(void)
|
||||
/// - "width" Requested width of the UI
|
||||
/// - "rgb" true if the UI uses RGB colors (false implies |cterm-colors|)
|
||||
/// - "ext_..." Requested UI extensions, see |ui-option|
|
||||
/// - "chan" Channel id of remote UI or 0 for TUI
|
||||
/// - "chan" |channel-id| of remote UI
|
||||
Array nvim_list_uis(void)
|
||||
FUNC_API_SINCE(4)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user