diff options
author | nicm <nicm> | 2021-11-15 10:58:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-11-15 10:58:13 +0000 |
commit | b55f0ac6b94449b3372f0d1737fcf967f4fa13a2 (patch) | |
tree | 7990e52a80163eeaa327068efa9411de02a148f8 /status.c | |
parent | cb8a0d83fbaa2ae49c06105cb94d247ef20ed91e (diff) | |
download | rtmux-b55f0ac6b94449b3372f0d1737fcf967f4fa13a2.tar.gz rtmux-b55f0ac6b94449b3372f0d1737fcf967f4fa13a2.tar.bz2 rtmux-b55f0ac6b94449b3372f0d1737fcf967f4fa13a2.zip |
Leave the hardware cursor at the position of the selected line in choose
modes and current editing position and at the command prompt. It is
invisible but this is helpful for people using screen readers. GitHub
issue 2970.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -748,6 +748,7 @@ status_prompt_redraw(struct client *c) offset = 0; if (pwidth > left) pwidth = left; + c->prompt_cursor = start + c->prompt_index - offset; width = 0; for (i = 0; c->prompt_buffer[i].size != 0; i++) { |