clean up some of the newer escape sequence processing

This commit is contained in:
Wez Furlong committed 2019-03-22 20:41:50 -07:00
1 parent 3003654cc8
commit e68bf65b2f
1 file changed
+6 -3
+6 -3
View File
@@ -1331,11 +1331,9 @@ impl TerminalState {
)) => {}
Mode::SetMode(TerminalMode::Code(TerminalModeCode::Insert)) => {
eprintln!("Enable insert");
self.insert = true;
}
Mode::ResetMode(TerminalMode::Code(TerminalModeCode::Insert)) => {
eprintln!("Disable insert");
self.insert = false;
}
@@ -1501,7 +1499,12 @@ impl TerminalState {
write!(host.writer(), "\x1bP{}!~{:04x}\x1b\\", request_id, checksum).ok();
}
Window::Iconify | Window::DeIconify => {}
Window::PopIconAndWindowTitle => {}
Window::PopIconAndWindowTitle
| Window::PopWindowTitle
| Window::PopIconTitle
| Window::PushIconAndWindowTitle
| Window::PushIconTitle
| Window::PushWindowTitle => {}
_ => eprintln!("unhandled Window CSI {:?}", window),
}
}