Repository navigation
Add support for cursor styles 5 and 6 to hterm - #1286
Conversation
This fixes #270, cursor shape changing in Neovim.
|
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. |
|
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 I can only find reference to changing the cursor permanently from within 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? |
|
@babenzele Not sure if possible in Vim, but for Neovim, drop this in your let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1 " Cursor is pipe in Insert, block in Normal |
|
It certainly is possible in Vim:
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
~Theodore
… On Jan 15, 2017, at 4:35 AM, Cole ***@***.***> wrote:
@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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
FTR, hterm has never required a NDA and never will. an NDA doesn't even make sense when the project is open source. |
|
...I think I meant CLA...I swear I saw NDA somewhere though. |
|
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 ? |
|
this was only talking about @tbodt's claim about NDA/CLA |
This fixes #270, cursor shape changing in Neovim.