|
19 | 19 | ---@field extent string|nil | 'screen' | 'all' | 'selection' | 'first_cmd_output_on_screen' | 'last_cmd_output' | 'last_visited_cmd_output' | 'last_non_empty_output' What text to get. The default of screen means all text currently on the screen. all means all the screen+scrollback and selection means the currently selected text. first_cmd_output_on_screen means the output of the first command that was run in the window on screen. last_cmd_output means the output of the last command that was run in the window. last_visited_cmd_output means the first command output below the last scrolled position via scroll_to_prompt. last_non_empty_output is the output from the last command run in the window that had some non empty output. The last four require shell_integration to be enabled. Choices: screen, all, first_cmd_output_on_screen, last_cmd_output, last_non_empty_output, last_visited_cmd_output, selection |
20 | 20 |
|
21 | 21 | ---@class KsbStatusWindowIcons |
22 | | ----@field kitty string kitty status window icon, defaults to |
23 | | ----@field heart string heart status window icon, defaults to |
24 | | ----@field nvim string nvim status window icon, defaults to |
| 22 | +---@field kitty? string kitty status window icon, defaults to |
| 23 | +---@field heart? string heart status window icon, defaults to |
| 24 | +---@field nvim? string nvim status window icon, defaults to |
25 | 25 |
|
26 | 26 | ---@class KsbStatusWindowOpts |
27 | | ----@field enabled boolean If true, show status window in upper right corner of the screen |
28 | | ----@field style_simple boolean If true, use plaintext instead of nerd font icons |
29 | | ----@field autoclose boolean If true, close the status window after kitty-scrollback.nvim is ready |
30 | | ----@field show_timer boolean If true, show a timer in the status window while kitty-scrollback.nvim is loading |
31 | | ----@field icons KsbStatusWindowIcons Icons displayed in the status window, defaults to |
| 27 | +---@field enabled? boolean If true, show status window in upper right corner of the screen |
| 28 | +---@field style_simple? boolean If true, use plaintext instead of nerd font icons |
| 29 | +---@field autoclose? boolean If true, close the status window after kitty-scrollback.nvim is ready |
| 30 | +---@field show_timer? boolean If true, show a timer in the status window while kitty-scrollback.nvim is loading |
| 31 | +---@field icons? KsbStatusWindowIcons Icons displayed in the status window, defaults to |
32 | 32 |
|
33 | 33 | ---@alias BoolOrFn boolean|fun():boolean |
34 | 34 | ---@alias KsbWinOpts table<string, any> |
|
0 commit comments