From 765305d0e4ed642ea923ab58e85f5a552c641a27 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 19 Dec 2025 14:41:32 +0100 Subject: [PATCH] tty_handoff: remove stale comment Fixes 1fe5497b5d5 (Remove redundant saving of TTY flags, 2025-12-14). --- src/tty_handoff.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tty_handoff.rs b/src/tty_handoff.rs index 50c2b27c2..5e67019b9 100644 --- a/src/tty_handoff.rs +++ b/src/tty_handoff.rs @@ -370,7 +370,6 @@ pub fn new(on_write: fn()) -> Self { } /// Mark terminal modes as enabled. - /// Return true if something was written to the tty. pub fn enable_tty_protocols(&mut self) { if self.tty_protocols_applied { return; // Already enabled. @@ -380,7 +379,6 @@ pub fn enable_tty_protocols(&mut self) { } /// Mark terminal modes as disabled. - /// Return true if something was written to the tty. pub fn disable_tty_protocols(&mut self) { if !self.tty_protocols_applied { return; // Already disabled. @@ -399,8 +397,6 @@ pub fn to_job_group(&mut self, jg: &JobGroupRef) { } /// Reclaim the tty if we transferred it. - /// Returns true if data was written to the tty, as part of - /// re-enabling terminal protocols. pub fn reclaim(mut self) { self.reclaim_impl() }