wezterm/do-not-send-eof-when-closing-application.patch
Soc Virnyl Estela 2737fff4db - Update to version 20240203.110809.5046fc22+git421:
* deps: libpng -> 1.6.44
  * deps: update to zlib 1.3.1
  * wezterm-ssh: update pty version
  * docs: changelog for serial bits
  * pty: bump semver because serial2 changes public API
  * Use serial2 crate instead of serial (#6411)
  * chore: remove redundant words in comment
  * fix some warnings with rust 1.83
  * wayland: reimplement maximize and restore
  * Disable libpng VSX_OPT flag for PowerPC 64
  * cargo update
  * docs: changelog for #6186
  * Region scrolling tests and a fix
  * Region scrolling tests
  * fix warning
  * Fixed minor typo in the example from `get_default_colors.md

OBS-URL: https://build.opensuse.org/package/show/X11:terminals/wezterm?expand=0&rev=127
2025-01-02 22:56:37 +00:00

18 lines
578 B
Diff

diff --git a/pty/src/unix.rs b/pty/src/unix.rs
index cbe0f76..92bf82b 100644
--- a/pty/src/unix.rs
+++ b/pty/src/unix.rs
@@ -396,9 +396,9 @@ impl Drop for UnixMasterWriter {
// EOF is only interpreted after a newline, so if it is set,
// we send a newline followed by EOF.
let eot = t.c_cc[libc::VEOF];
- if eot != 0 {
- let _ = self.fd.0.write_all(&[b'\n', eot]);
- }
+ // if eot != 0 {
+ // let _ = self.fd.0.write_all(&[b'\n', eot]);
+ // }
}
}
}