mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
tty_handoff: remove stale comment
Fixes 1fe5497b5d (Remove redundant saving of TTY flags, 2025-12-14).
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user