Make WidthDB tab-width-aware

This commit is contained in:
Joscha 2022-08-04 01:36:33 +02:00
parent d186291ef7
commit 31bb2de87b
5 changed files with 45 additions and 51 deletions

View file

@ -60,11 +60,11 @@ impl Terminal {
}
pub fn set_tab_width(&mut self, tab_width: u8) {
self.frame.tab_width = tab_width;
self.frame.widthdb.tab_width = tab_width;
}
pub fn tab_width(&self) -> u8 {
self.frame.tab_width
self.frame.widthdb.tab_width
}
pub fn set_measuring(&mut self, active: bool) {