diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-13 20:47:11 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-18 09:27:08 +0600 |
commit | e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb (patch) | |
tree | d892e10e8e922e71ce822e7c6a5c41fad1dd73d1 /src/nvim/ex_docmd.c | |
parent | b9b5577d6d8e07d1e39020c8fc05f817f2e81c66 (diff) | |
download | rneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.tar.gz rneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.tar.bz2 rneovim-e1bdb2a258cbe6c5cb981acc6bac82cd9e7706fb.zip |
feat(ui): add `'winbar'`
Adds support for a bar at the top of each window, enabled through the
`'winbar'` option.
Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index e845073c12..0510faa57d 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8831,7 +8831,7 @@ static void ex_redraw(exarg_T *eap) ui_flush(); } -/// ":redrawstatus": force redraw of status line(s) +/// ":redrawstatus": force redraw of status line(s) and window bar(s) static void ex_redrawstatus(exarg_T *eap) { if (State & MODE_CMDPREVIEW) { @@ -8847,8 +8847,7 @@ static void ex_redrawstatus(exarg_T *eap) } else { status_redraw_curbuf(); } - update_screen(VIsual_active ? INVERTED : - 0); + update_screen(VIsual_active ? INVERTED : 0); RedrawingDisabled = r; p_lz = p; ui_flush(); |