aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyose <ayosec@gmail.com>2024-03-04 10:00:00 +1000
committerAyose <ayosec@gmail.com>2024-03-04 10:00:00 +1000
commit84c0f294d9c28b7530f45357e0e86695ddf77d64 (patch)
treeed33e5e9b6ec30c8e7bc0425b559348d8acd5847
parent6bd9c714e4326d58dbed5ac37beb05f258bfb69f (diff)
downloadr-alacritty-84c0f294d9c28b7530f45357e0e86695ddf77d64.tar.gz
r-alacritty-84c0f294d9c28b7530f45357e0e86695ddf77d64.tar.bz2
r-alacritty-84c0f294d9c28b7530f45357e0e86695ddf77d64.zip
Include Sixel support in Device Attributes response.
The response for `\e[c` (Send Device Attributes) now returns level 2 with the Sixel extension. The other extensions are 6 (Selectively Erasable Characters) and 22 (Color Text). The values are documented in page 04-19 of DEC-STD-070.
-rw-r--r--alacritty_terminal/src/term/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index 91448b48..f81e3cca 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -1279,7 +1279,7 @@ impl<T: EventListener> Handler for Term<T> {
match intermediate {
None => {
trace!("Reporting primary device attributes");
- let text = String::from("\x1b[?6c");
+ let text = String::from("\x1b[?62;4;6;22c");
self.event_proxy.send_event(Event::PtyWrite(text));
},
Some('>') => {