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
This commit is contained in:
10 files changed
+311
-206
No files matched your search
+3
-1
@@ -38,7 +38,9 @@ impl TerminalView {
|
||||
pub(super) fn input(&mut self, bytes: Vec<u8>, cx: &mut Context<Self>) {
|
||||
let mut term = self.pty.term.lock();
|
||||
term.scroll_display(Scroll::Bottom);
|
||||
term.selection = None;
|
||||
if term.selection.take().is_some() {
|
||||
log::debug!("terminal {}: input clears the selection", self.pty.pid);
|
||||
}
|
||||
drop(term);
|
||||
self.pty.write(bytes);
|
||||
cx.notify();
|
||||
|
||||
Reference in new issue
Block a user