1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

handle tmux events DCS event

This commit is contained in:
g4c 2021-08-23 20:00:31 +08:00 committed by Wez Furlong
parent f36d4c6734
commit a7b60c8d88

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);
}
}
_ => {