ptyd: remove temporary line-discipline diagnostics

This commit is contained in:
Red Bear OS
2026-07-18 23:07:59 +09:00
parent d20557f726
commit 75229a5789
2 changed files with 0 additions and 21 deletions
-13
View File
@@ -246,19 +246,6 @@ impl Pty {
}
self.update();
if !buf.is_empty() {
let cc = self.termios.c_cc;
eprintln!(
"ptyd-diag: input {} bytes icanon={} echo={} vmin={} vtime={} -> cooked={} mosi={}",
buf.len(),
icanon,
echo,
cc[VMIN],
cc[VTIME],
self.cooked.len(),
self.mosi.len(),
);
}
}
pub fn output(&mut self, buf: &[u8]) {
-8
View File
@@ -51,14 +51,6 @@ impl Resource for PtySubTerm {
pty.update();
if !pty.mosi.is_empty() {
eprintln!(
"ptyd-diag: subterm read: mosi has {} packet(s), first len {}",
pty.mosi.len(),
pty.mosi.front().map(|p| p.len()).unwrap_or(0),
);
}
if let Some(packet) = pty.mosi.pop_front() {
let mut i = 0;