T09: the tap holds one mouse tracking and one format as xterm does, any reset ends it; every reported button keeps its release, motion reports the first held; URLs keep combining marks; selections log start, run and end; shot hands real buttons to the view and shows its window without activating
CI / platforms (windows-latest) (push) Failing after 7s
CI / macos (push) Failing after 8m26s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-14 15:51:44 -04:00
1 parent 9f81f1f704
commit d6fa38e60b
10 files changed
+311 -206

No files matched your search

+4 -5
View File
@@ -11,16 +11,15 @@ use alacritty_terminal::{
};
use futures::channel::mpsc::{UnboundedReceiver, UnboundedSender, unbounded};
use super::tap::Tapped;
use super::{mouse::MouseMode, tap::Tapped};
use crate::settings::{CursorStyle, Settings};
/// What a session hears from its pty: the grid's events, the folder the shell reports, and mode 9.
/// What a session hears from its pty.
#[derive(Debug)]
pub enum PtyEvent {
Term(Event),
Folder(PathBuf),
/// X10 mouse reporting turned on or off.
X10(bool),
Mouse(MouseMode),
}
/// Hands the grid's events to the session; `pid` names the program in logs.
@@ -250,7 +249,7 @@ mod tests {
PtyEvent::Folder(folder) => folders.push(folder),
PtyEvent::Term(Event::ChildExit(status)) => success = status.success(),
PtyEvent::Term(Event::Exit) => break,
PtyEvent::Term(_) | PtyEvent::X10(_) => {}
PtyEvent::Term(_) | PtyEvent::Mouse(_) => {}
}
}
(folders, success)