Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly wrong Quickfix list in narrow terminals on Windows #76

Open
cdelledonne opened this issue Nov 9, 2022 · 0 comments
Open

Possibly wrong Quickfix list in narrow terminals on Windows #76

cdelledonne opened this issue Nov 9, 2022 · 0 comments
Labels
bug Something isn't working upstream This issue is related to upstream problems windows This issue occurs in Windows only

Comments

@cdelledonne
Copy link
Owner

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

  • 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
@cdelledonne cdelledonne added bug Something isn't working upstream This issue is related to upstream problems windows This issue occurs in Windows only labels Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream This issue is related to upstream problems windows This issue occurs in Windows only
Projects
None yet
Development

No branches or pull requests

1 participant