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
On Windows, ConPTY seems to be hard-wrapping lines that are longer than the PTY's width (possibly related issues: microsoft/terminal#405, mintty/mintty#971). Generating a Quickfix list of errors relies on error messages to be output on a single line, which is not the case for hard-wrapped error messages.
The effect is that the Quickfix feature does not work reliably.
We could try to work around this problem as mentioned in the issues linked above, but we're not sure whether that's feasible at all and what the complexity/maintenance cost would be.
To Reproduce
Run :CMakeBuild in a project with errors in a narrow terminal in Neovim on Windows, and observe that when error messages span multiple lines in the Vim-CMake console, the Quickfix list is incorrect.
Expected behavior
We would expect entire lines of output to be passed to the job's callback as single lines (e.g. ['This is a line of output', '']), not as multiple lines (e.g. ['This is a line', ' of output', '']).
Other info
OS: Windows
Vim/Neovim version: Neovim 0.8.0
Vim-CMake version (:echo cmake#GetInfo().version): 0.11.1
CMake version (cmake --version): 3.22.2
The text was updated successfully, but these errors were encountered:
Bug description
On Windows, ConPTY seems to be hard-wrapping lines that are longer than the PTY's width (possibly related issues: microsoft/terminal#405, mintty/mintty#971). Generating a Quickfix list of errors relies on error messages to be output on a single line, which is not the case for hard-wrapped error messages.
The effect is that the Quickfix feature does not work reliably.
We could try to work around this problem as mentioned in the issues linked above, but we're not sure whether that's feasible at all and what the complexity/maintenance cost would be.
To Reproduce
Run
:CMakeBuild
in a project with errors in a narrow terminal in Neovim on Windows, and observe that when error messages span multiple lines in the Vim-CMake console, the Quickfix list is incorrect.Expected behavior
We would expect entire lines of output to be passed to the job's callback as single lines (e.g.
['This is a line of output', '']
), not as multiple lines (e.g.['This is a line', ' of output', '']
).Other info
:echo cmake#GetInfo().version
): 0.11.1cmake --version
): 3.22.2The text was updated successfully, but these errors were encountered: