vt: answer XTVERSION, DA3, DECRQM, and the title stack

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib74e56cfd26b029064e5683ba20b70606a6a6964
This commit is contained in:
raf 2026-06-24 09:44:20 +03:00
commit 6b3c8dc059
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF
2 changed files with 125 additions and 9 deletions

View file

@ -177,6 +177,22 @@ impl Grid {
self.insert = on;
}
pub fn autowrap(&self) -> bool {
self.autowrap
}
pub fn origin(&self) -> bool {
self.origin
}
pub fn insert(&self) -> bool {
self.insert
}
pub fn alt_active(&self) -> bool {
self.alt_saved.is_some()
}
// --- printing ---
/// Place a printable character at the cursor, honouring width and autowrap.