Skip to content

Conversation

justinmk
Copy link
Member

Anything claiming to be an xterm gets DECSCUSR. This is the only
reasonable choice unless/until we get more reliable detection (#7490).

ref #6997
closes #7550

cc @DarkDefender

@justinmk justinmk added this to the 0.2.2 milestone Nov 17, 2017
@DarkDefender
Copy link
Contributor

I have nothing to add except that this will break older VTE terminals that doesn't support DECSCUSR but reports that they are xterm. This applies to other outdated terminals of course, but to me it seems like most people are stuck on old VTE terminals than say older urxvt versions for example.

Maybe add a check to make sure that this doesn't trigger if (vte_version < 3900)? (Note that vte_version is 0 if no env variable for vte detection exists)

@justinmk
Copy link
Member Author

justinmk commented Nov 17, 2017

@DarkDefender good point, updated.

Anything claiming to be an xterm gets DECSCUSR. This is the only
reasonable choice unless/until we get more reliable detection (neovim#7490).

ref neovim#6997
closes neovim#7550
@justinmk justinmk merged commit 07931ed into neovim:master Nov 17, 2017
@justinmk justinmk deleted the tui branch November 17, 2017 21:24
// console-terminal-emulator from the nosh toolset, which does indeed
// implement the xterm extension:
// Some linux-type terminals (such as console-terminal-emulator
// from the nosh toolset) implement implement the xterm extension.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps a bit late now, But there is a typo here: "implement implement"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, fixed in "doc" PR.

justinmk added a commit to justinmk/neovim that referenced this pull request Nov 18, 2017
FEATURES:
b6a603f neovim#7458 node.js remote-plugin support
f5d4da0 :checkhealth : validate 'runtimepath' (neovim#7526)

FIXES:
e6beb60 :terminal : fix crash on resize (neovim#7547)
07931ed tui: 'guicursor': use DECSCUSR for xterm-likes (neovim#7576)
f185c73 neovim#7561 'os_open: UV_EINVAL on NULL filename'
e8af34d win: provider: Detect(): return *.cmd path (neovim#7577)
eacd788 :checkhealth : fix check for npm and yarn (neovim#7569)
a43a573 health.vim: normalize slashes for script path (neovim#7525)
69e3308 cmake: install runtime/rgb.txt
d0b05e3 runtime: Fix syntax error in `runtime/syntax/tex.vim` (neovim#7518)
55d8967 tutor: some fixes (neovim#7510)

CHANGES:
9837a9c remove legacy alias to `v:count` (neovim#7407)
c5f001a runtime: revert netrw update (neovim#7557)
67e4529 defaults: scrollback=10000 (neovim#7556)
881f9e4 process_close(): uv_unref() detached processes (neovim#7539)
justinmk added a commit to justinmk/neovim that referenced this pull request Nov 18, 2017
FEATURES:
a6de144 'viewoptions': add "curdir" flag neovim#7447
b6a603f node.js remote-plugin support neovim#7458
f5d4da0 :checkhealth : validate 'runtimepath' neovim#7526

FIXES:
e6beb60 :terminal : fix crash on resize neovim#7547
f19e5d6 work around gnome-terminal memory leak neovim#7573
07931ed 'guicursor': use DECSCUSR for xterm-likes neovim#7576
f185c73 'os_open: UV_EINVAL on NULL filename' neovim#7561
e8af34d win: provider: Detect(): return *.cmd path neovim#7577
eacd788 :checkhealth : fix check for npm and yarn neovim#7569
a43a573 health.vim: normalize slashes for script path neovim#7525
69e3308 cmake: install runtime/rgb.txt
d0b05e3 runtime: syntax error in `runtime/syntax/tex.vim` neovim#7518
55d8967 tutor: some fixes neovim#7510

CHANGES:
9837a9c remove legacy alias to `v:count` neovim#7407
c5f001a runtime: revert netrw update neovim#7557
67e4529 defaults: scrollback=10000 neovim#7556
881f9e4 process_close(): uv_unref() detached processes neovim#7539
sameedali added a commit to sameedali/neovim that referenced this pull request Nov 19, 2017
* 'master' of https://github.com/neovim/neovim: (148 commits)
  vim-patch:8.0.0283
  version bump
  NVIM v0.2.2
  tui: setrgbf/setrgbb: emit semicolons for VTE
  'viewoptions': add "curdir" flag neovim#7447
  win: provider: Detect(): return *.cmd path (neovim#7577)
  os_nodetype: rework
  os_open, os_stat: UV_EINVAL on NULL filename
  tui: 'guicursor': use DECSCUSR for xterm-likes (neovim#7576)
  lint neovim#7562
  :checkhealth: fix check for npm and yarn (neovim#7569)
  doc: Fix pathshorten() example (neovim#7571)
  health.vim: define highlights as `default` (neovim#7560)
  runtime: revert netrw update (neovim#7557)
  defaults: scrollback=10000 (neovim#7556)
  doc: test/README.md: migrate wiki info (neovim#7552)
  vim-patch:8.0.0227 (neovim#7548)
  test/unit/path_spec: expect correct buffer size (neovim#7514)
  health.vim: normalize slashes for script path (neovim#7525)
  :terminal : fix crash on resize (neovim#7547)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TUI: guicursor not working in Terminal.app, alacritty
2 participants