forked from pool/wezterm
- Add do-not-send-eof-when-closing-application.patch
* resolves issue when closing app but also sends an EOF to other multiplexers e.g. tmux, screen, zellij OBS-URL: https://build.opensuse.org/package/show/X11:terminals/wezterm?expand=0&rev=104
This commit is contained in:
parent
aa1c6f425e
commit
6d383b58da
17
do-not-send-eof-when-closing-application.patch
Normal file
17
do-not-send-eof-when-closing-application.patch
Normal file
@ -0,0 +1,17 @@
|
||||
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]);
|
||||
+ // }
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 18 21:57:26 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Add do-not-send-eof-when-closing-application.patch
|
||||
* resolves issue when closing app but also sends an EOF
|
||||
to other multiplexers e.g. tmux, screen, zellij
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 12 07:56:01 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
@ -27,6 +27,7 @@ URL: https://github.com/wez/wezterm
|
||||
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR BSD-2-Clause) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-only AND MIT AND MPL-2.0 AND WTFPL AND Zlib AND MIT
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Patch0: do-not-send-eof-when-closing-application.patch
|
||||
Requires: terminfo
|
||||
BuildRequires: Mesa-libEGL-devel
|
||||
|
||||
@ -108,7 +109,7 @@ BuildArch: noarch
|
||||
Zsh completion script for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
%autosetup -a1 -p1
|
||||
mkdir -p .cargo
|
||||
cp cargo_config .cargo/config
|
||||
tic -vvv -x -o terminfo termwiz/data/%{name}.terminfo
|
||||
|
Loading…
Reference in New Issue
Block a user