mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-15 07:33:22 +00:00
fix(terminal): make cursor_render_delay optional in the typesystem
This commit is contained in:
@@ -425,10 +425,10 @@ The plugin also provides `:Jdiff`, `:Jvdiff`, and `:Jhdiff` commands for diffing
|
||||
-- If cursor column is being reset to 0 when refreshing commands, try increasing this value
|
||||
-- This delay allows the terminal emulator to complete rendering before restoring cursor position
|
||||
cursor_render_delay = 10,
|
||||
|
||||
|
||||
-- Configure terminal window
|
||||
window = {
|
||||
type = "hsplit", -- Type of window the terminal is displayed in
|
||||
type = "hsplit", -- Type of window the terminal is displayed in (hsplit/vsplit/floating/tab)
|
||||
split_size = 0.5, -- Size % of the split window, either height (hsplit) or width (vsplit) (between 0.1 and 1.0)
|
||||
floating_width = 0.99, -- Width % of the floating window (between 0.1 and 1.0)
|
||||
floating_height = 0.95, -- Height % of the floating window (between 0.1 and 1.0)
|
||||
|
||||
@@ -3,7 +3,7 @@ local M = {}
|
||||
|
||||
--- Terminal configuration
|
||||
--- @class jj.ui.terminal.opts
|
||||
--- @field cursor_render_delay integer The delay in ms when cursor rerendering the terminal state (default: 10ms). If you're loosing the column of the cursor try adding more delay. I currently did not find a better way to do so due to async handling of the ouptut in the terminal
|
||||
--- @field cursor_render_delay? integer The delay in ms when cursor rerendering the terminal state (default: 10ms). If you're loosing the column of the cursor try adding more delay. I currently did not find a better way to do so due to async handling of the ouptut in the terminal
|
||||
--- @field window? jj.terminal.window Options for the window used
|
||||
---
|
||||
--- @class jj.terminal.window
|
||||
|
||||
Reference in New Issue
Block a user