mirror of
https://github.com/tmux/tmux.git
synced 2025-12-24 17:56:02 +00:00
Add prompt-command-cursor-style, from Joshua Cooper in GitHub issue 4765.
This commit is contained in:
5
status.c
5
status.c
@@ -804,7 +804,10 @@ status_prompt_redraw(struct client *c)
|
||||
|
||||
n = options_get_number(s->options, "prompt-cursor-colour");
|
||||
sl->active->default_ccolour = n;
|
||||
n = options_get_number(s->options, "prompt-cursor-style");
|
||||
if (c->prompt_mode == PROMPT_COMMAND)
|
||||
n = options_get_number(s->options, "prompt-command-cursor-style");
|
||||
else
|
||||
n = options_get_number(s->options, "prompt-cursor-style");
|
||||
screen_set_cursor_style(n, &sl->active->default_cstyle,
|
||||
&sl->active->default_mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user