handle tmux events DCS event

This commit is contained in:
g4c authored and Wez Furlong committed 2022-01-17 13:06:03 -07:00
1 parent f36d4c6734
commit a7b60c8d88
1 file changed
+9 -6
+9 -6
View File
@@ -653,14 +653,17 @@ impl wezterm_term::DeviceControlHandler for LocalPaneDCSHandler {
}
}
DeviceControlMode::Data(c) => {
log::warn!(
"unhandled DeviceControlMode::Data {:x} {}",
c,
(c as char).escape_debug()
);
}
DeviceControlMode::TmuxEvents(events) => {
if let Some(tmux) = self.tmux_domain.as_ref() {
tmux.advance(c);
tmux.advance(events);
} else {
log::warn!(
"unhandled DeviceControlMode::Data {:x} {}",
c,
(c as char).escape_debug()
);
log::warn!("unhandled DeviceControlMode::TmuxEvents {:?}", &events);
}
}
_ => {