In reference to #1055. Seemingly the previous help text suggested to the
OP that Neovide could "embed" itself directly into the terminal
emulator, while the flag only cares about process management.
[Clipboard providers are only loaded once by Neovim](https://github.com/neovim/neovim/issues/8017), causing the previous code to use an obsolete channel id when reconnecting to a remote nvim instance.
The original check of whether a cursor movement was intentional or just
in the same window wasn't enough for the command line, where a cursor
didn't really move but was just displayed in the command line area for a
short time. Hardcodes 4 as constant for the commandline mode, I have no
idea how future-safe that is.
By default on MacOS pressing a key combination containing an Alt key
produces a special character:
<Alt + s> -> ß
<Alt + v> -> √
...
It is really unfortunate if you want to use those key combinations as
shortcuts and this case has to be handles separately by the app.
This commit introduces a new configuration flag
`neovide_macos_alt_is_meta`. When the flag is set to true then all the
Alt- key combinations are treated as shortcuts with no extra character
modifications, i.e. pressing `Alt` and `s` indeed emits a <M-s>
shortcut.
I don't know the history behind the channel list parsing, but this seems
to be a lot cleaner. There also seems to be a race condition in the
parsing approach, which often causes the channel to not be detected when
reconnecting to a remote Neovim instance.
* add method that draws a rectangular outline
* unwrap option a little more nicely
* set cursor renderer to draw outline when focus lost
* add configuraton option for cursor outline width
* feat: add support for blend=100
* feat: add support for blend between 0 and 100 for cursor
* fix: cursor not updating on window switch
* fix: crash on set cursor group
* chore: formatting
* chore: curr -> current