Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Add support for cursor styles 5 and 6 to hterm - #1286

Merged
rauchg merged 1 commit into
vercel:masterfrom
tbodt:master
Dec 24, 2016
Merged

rauchg merged 1 commit into
vercel:masterfrom
tbodt:master

Conversation

@tbodt

@tbodt tbodt commented Dec 21, 2016

Copy link
Copy Markdown
Contributor

This fixes #270, cursor shape changing in Neovim.

This fixes #270, cursor shape changing in Neovim.
@colepeters

Copy link
Copy Markdown
Contributor

This looks awesome, thanks for your work on this @tbodt. Can’t wait to try it out. This has been one of the things stopping me from making the full switch from iTerm to Hyper.

@tbodt

tbodt commented Dec 21, 2016 •

Copy link
Copy Markdown
Contributor Author

There are a number of other styling things I'd like to fix, such as underline/i-beam cursors not blinking, but the root cause is hterm. SO CAN WE PLEASE FOR THE LOVE OF GOD USE A JAVASCRIPT TERMINAL LIBRARY THAT DOES NOT REQUIRE SIGNING AN NDA TO CONTRIBUTE TO!!!!!!11!!1 #1275

@tbodt tbodt mentioned this pull request Dec 21, 2016
@rauchg
rauchg merged commit ccf818d into vercel:master Dec 24, 2016
@tim-phillips

Copy link
Copy Markdown

@tbodt I can only find reference to changing the cursor permanently from within hyper.js.

module.exports = {
  cursorShape: 'BLOCK'
}

But do you know how one would trigger this from vim, such that it is BEAM in Insert mode and BLOCK in Normal mode?

@colepeters

Copy link
Copy Markdown
Contributor

@babenzele Not sure if possible in Vim, but for Neovim, drop this in your init.vim:

let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1	" Cursor is pipe in Insert, block in Normal

@tbodt

tbodt commented Jan 15, 2017 via email

Copy link
Copy Markdown
Contributor Author

@vapier

vapier commented Dec 30, 2017

Copy link
Copy Markdown

FTR, hterm has never required a NDA and never will. an NDA doesn't even make sense when the project is open source.

@tbodt

tbodt commented Dec 31, 2017

Copy link
Copy Markdown
Contributor Author

...I think I meant CLA...I swear I saw NDA somewhere though.

@vapier

vapier commented Dec 31, 2017

Copy link
Copy Markdown

then i don't understand your complaint. yes, hterm has a CLA, but xterm.js also has a CLA. you have read their CONTRIBUTING.md right ?

@albinekb

albinekb commented Jan 3, 2018

Copy link
Copy Markdown
Contributor

Problem with hterm is that it's not on github @vapier @tbodt, makes it really hard to contribute and the effort to set it all up and learn the whole system google has just isn't worth it, that's why we were maintaining all of these hot-patches over hterm. Not an issue anymore with xterm 👌

@vapier

vapier commented Jan 3, 2018

Copy link
Copy Markdown

this was only talking about @tbodt's claim about NDA/CLA

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants