aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
authorDominik MiedziƄski <dominik@mdzn.pl>2017-05-07 22:08:23 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2017-05-07 15:14:22 -0700
commit08447a220c1bcf9d2e071798da3e1edcde9366cf (patch)
tree2ad2b65ea6dac3b729b0777bd671a0d9fff9b081 /src/term/mod.rs
parent573c5035efaf486a3fc56c05115df456fe053143 (diff)
downloadalacritty-08447a220c1bcf9d2e071798da3e1edcde9366cf.tar.gz
alacritty-08447a220c1bcf9d2e071798da3e1edcde9366cf.zip
Add support for Query Device Status
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 9f49ae55..e3510b11 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -1240,6 +1240,11 @@ impl ansi::Handler for Term {
}
#[inline]
+ fn device_status<W: io::Write>(&mut self, writer: &mut W) {
+ let _ = writer.write_all(b"\x1b0n");
+ }
+
+ #[inline]
fn move_down_and_cr(&mut self, lines: Line) {
trace!("[unimplemented] move_down_and_cr: {}", lines);
}