You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glacambre opened this issue
Nov 4, 2017
· 6 comments
Labels
bugissues reporting wrong behaviordisplayredraw, layout, presentationhas:reproissue contains minimal reproducing stepshas:workaroundissue is not fixed but can be circumvented until thenterminalbuilt-in :terminal or :shelltui
First, start nvim with two horizontal windows, the upper one should be a term and bottom one a regular buffer. Reset syntax highlighting, set cterm=NONE. Append a few characters to the regular buffer. You can do all of that with the following command:
Then, "violently" resize your terminal emulator (the one holding the nvim tui): you should see redraw bugs on the upper line.
I can 100% trigger this bug by using i3wm and opening/closing a new window (this divides the nvim window's width by 2 and then resizes it to its previous size).
Actual behaviour
The right half of the first line of the terminal buffer won't be properly redrawn: it will be the default color of the terminal emulator rather than the color set using the highlight Normal command.
Please note that the bug won't be triggered if the cursor is not in the normal buffer or if it is on the first column on the normal buffer.
Expected behaviour
Everything should be the same color.
Edit: Here's a screenshot of what's happening. The upper right corner is black but it should be pink.
The text was updated successfully, but these errors were encountered:
Still happens for urxvt (haven't tried other terminal emulators). I may have made a mistake while testing, please let me know if I should do something differently:
bugissues reporting wrong behaviordisplayredraw, layout, presentationhas:reproissue contains minimal reproducing stepshas:workaroundissue is not fixed but can be circumvented until thenterminalbuilt-in :terminal or :shelltui
nvim --version
: NVIM v0.2.1-1124-g739bc5124$TERM
: rxvt-unicode-256color/xterm-256color/xterm-256colorSteps to reproduce using
nvim -u NORC
First, start nvim with two horizontal windows, the upper one should be a term and bottom one a regular buffer. Reset syntax highlighting, set cterm=NONE. Append a few characters to the regular buffer. You can do all of that with the following command:
Then, "violently" resize your terminal emulator (the one holding the nvim tui): you should see redraw bugs on the upper line.
I can 100% trigger this bug by using i3wm and opening/closing a new window (this divides the nvim window's width by 2 and then resizes it to its previous size).
Actual behaviour
The right half of the first line of the terminal buffer won't be properly redrawn: it will be the default color of the terminal emulator rather than the color set using the highlight Normal command.
Please note that the bug won't be triggered if the cursor is not in the normal buffer or if it is on the first column on the normal buffer.
Expected behaviour
Everything should be the same color.
Edit: Here's a screenshot of what's happening. The upper right corner is black but it should be pink.
The text was updated successfully, but these errors were encountered: