mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
term: fix ALT-Escape
This appears to have been accidentally broken as part of the churn
around building out CSI-u key encoding in
6289c08a4e
closes: https://github.com/wez/wezterm/issues/338
This commit is contained in:
parent
a063d20cf0
commit
eabfa3c0f8
@ -20,6 +20,7 @@ brief notes about them may accumulate here.
|
||||
* Added `SemanticZone` as a possible parameter for [SelectTextAtMouseCursor](config/lua/keyassignment/SelectTextAtMouseCursor.md), making it possible to conveniently select complete input or output regions.
|
||||
* Improved font rendering [#320](https://github.com/wez/wezterm/issues/320) [#331](https://github.com/wez/wezterm/issues/331)
|
||||
* Updated internal harfbuzz shaper to 2.7.2
|
||||
* Fixed ALT-Escape not sending ESC-ESC [#338](https://github.com/wez/wezterm/issues/338)
|
||||
|
||||
### 20201101-103216-403d002d
|
||||
|
||||
|
@ -821,7 +821,7 @@ impl TerminalState {
|
||||
if mods.contains(KeyModifiers::SHIFT) || mods.contains(KeyModifiers::CTRL) {
|
||||
self.csi_u_encode(&mut buf, c, mods)?;
|
||||
} else {
|
||||
if mods.contains(KeyModifiers::ALT) && key != Escape {
|
||||
if mods.contains(KeyModifiers::ALT) {
|
||||
buf.push(0x1b as char);
|
||||
}
|
||||
buf.push(c);
|
||||
|
Loading…
Reference in New Issue
Block a user