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

Neovim :terminal fails to clear ANSI background properly for some lines of output #10922

Open
s1341 opened this issue Sep 3, 2019 · 1 comment
Labels
bug issues reporting wrong behavior terminal built-in :terminal or :shell
Milestone

Comments

@s1341
Copy link

s1341 commented Sep 3, 2019

  • nvim --version:
    NVIM v0.4.0-1887-ge29b89ca5
    Build type: Debug
    LuaJIT 2.0.5
    Compilation: /usr/bin/cc -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/home/shmaryar/src/neovim/build/config -I/home/shmaryar/src/neovim/src -I/home/shmaryar/src/neovim/.deps/usr/include -I/usr/include -I/home/shmaryar/src/neovim/build/src/nvim/auto -I/home/shmaryar/src/neovim/build/include
    Compiled by shmaryar@SHMARYAR

Features: +acl +iconv +tui
See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/home/shmaryar/src/neovim/install/share/nvim"

Run :checkhealth for more info

  • vim -u DEFAULTS (version: ) behaves differently?
    Not relevant to standard vim, as it doesn't have :terminal
  • Operating system/version:
    ubuntu 18.10
  • Terminal name/version:
    kitty 0.14.3
  • $TERM:
    xterm-kitty

Steps to reproduce using nvim -u NORC

nvim -u NORC
:terminal
cat <attached file>

26R4Gk1a.txt

Actual behaviour

There are green background bars all the way to the right on some of the lines. As seen in the screenshot:
2019-09-03-101253_863x960_scrot

Expected behaviour

No highlighting except for within the lines.

@justinmk
Copy link
Member

justinmk commented Sep 3, 2019

Revisit after we have latest libvterm. #9494

@justinmk justinmk added this to the todo milestone Sep 3, 2019
@justinmk justinmk added the terminal built-in :terminal or :shell label Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior terminal built-in :terminal or :shell
Projects
None yet
Development

No branches or pull requests

2 participants