tty_handoff: remove stale comment

Fixes 1fe5497b5d (Remove redundant saving of TTY flags, 2025-12-14).
This commit is contained in:
Johannes Altmanninger
2025-12-19 14:41:32 +01:00
parent a261ca2aff
commit 765305d0e4

View File

@@ -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()
}