forked from NotAShelf/beer
vt: answer XTVERSION, DA3, DECRQM, and the title stack
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ib74e56cfd26b029064e5683ba20b70606a6a6964
This commit is contained in:
parent
56907b4115
commit
6b3c8dc059
2 changed files with 125 additions and 9 deletions
16
src/grid.rs
16
src/grid.rs
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue