mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
handle tmux events DCS event
This commit is contained in:
parent
f36d4c6734
commit
a7b60c8d88
@ -653,15 +653,18 @@ impl wezterm_term::DeviceControlHandler for LocalPaneDCSHandler {
|
||||
}
|
||||
}
|
||||
DeviceControlMode::Data(c) => {
|
||||
if let Some(tmux) = self.tmux_domain.as_ref() {
|
||||
tmux.advance(c);
|
||||
} else {
|
||||
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(events);
|
||||
} else {
|
||||
log::warn!("unhandled DeviceControlMode::TmuxEvents {:?}", &events);
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
log::warn!("unhandled: {:?}", control);
|
||||
|
Loading…
Reference in New Issue
Block a user