diff options
author | Kirill Chibisov <wchibisovkirill@gmail.com> | 2019-11-04 22:41:13 +0300 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-11-04 20:41:13 +0100 |
commit | 2c671afb69fb97f94df9967e7ffcf07d5e6a7be1 (patch) | |
tree | 0333c0ee8bc6b1a10914af8c55448ae04d82bf5c /alacritty_terminal/src/ansi.rs | |
parent | 93e87eb0f1858138113d4ecdfaa8bfac3c127a39 (diff) | |
download | alacritty-2c671afb69fb97f94df9967e7ffcf07d5e6a7be1.tar.gz alacritty-2c671afb69fb97f94df9967e7ffcf07d5e6a7be1.zip |
Add UTF-8 mouse mode support
Fixes #1934.
Diffstat (limited to 'alacritty_terminal/src/ansi.rs')
-rw-r--r-- | alacritty_terminal/src/ansi.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index a05904df..55c064e1 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -406,6 +406,8 @@ pub enum Mode { ReportAllMouseMotion = 1003, /// ?1004 ReportFocusInOut = 1004, + /// ?1005 + Utf8Mouse = 1005, /// ?1006 SgrMouse = 1006, /// ?1007 @@ -439,6 +441,7 @@ impl Mode { 1002 => Mode::ReportCellMouseMotion, 1003 => Mode::ReportAllMouseMotion, 1004 => Mode::ReportFocusInOut, + 1005 => Mode::Utf8Mouse, 1006 => Mode::SgrMouse, 1007 => Mode::AlternateScroll, 1049 => Mode::SwapScreenAndSetRestoreCursor, |