term: fixup ctrl+ ambiguous ctrl code representation
This was originally intended to be swept in and dealt with as part of adopting CSI-u (refs: https://github.com/wez/wezterm/issues/63) but the default shift-space mapping is super irritating in vim (refs: https://github.com/wez/wezterm/issues/126) so it got partially walked back, but as a consequence we accidentally dropped the modifiers from those keys (refs: https://github.com/wez/wezterm/issues/213 refs: https://github.com/wez/wezterm/issues/214). This commit restores the modifiers for that case. In addition, since we now have a way to plumb configuration directly into the term crate, this adds a config option to enable CSI-u for those that want to use it.
This commit is contained in:
1 parent
afe0475ced
commit
9f1303fb8e
5 files changed
+48
-23
No files matched your search
@@ -10,7 +10,13 @@ daily) from the master branch. It may not be usable and
|
||||
the feature set may change. As features stabilize some
|
||||
brief notes about them may accumulate here.
|
||||
|
||||
* Not yet!
|
||||
* Fixed default mapping of ambiguous ctrl key combinations (`i`, `m`, `[`, `{`,
|
||||
`@`) so that they emit the old school tab, newline, escape etc. values.
|
||||
These got broken as part of prototyping CSI-u support a while back.
|
||||
* Added option to enable CSI-u key encodings. This is a new mapping scheme
|
||||
defined here <http://www.leonerd.org.uk/hacks/fixterms/> that disambiguates
|
||||
and otherwise enables more key binding combinations. You can enable this
|
||||
setting using `enable_csi_u_key_encoding = true` in your config file.
|
||||
|
||||
### 20200607-144723-74889cd4
|
||||
|
||||
|
||||
Reference in new issue
Block a user