diff options
author | Zach van Rijn <me@zv.io> | 2023-02-09 06:03:23 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-02-09 06:03:23 +0000 |
commit | 42f124647be83797a95fa956bdada69805edbd4d (patch) | |
tree | fcd769a35581e555399e142a1a3732b26db12442 /system/libuv/fix-test-terminal-illness.patch | |
parent | 7b8009c13fc75f8920139e36310c19401a681ac2 (diff) | |
download | packages-42f124647be83797a95fa956bdada69805edbd4d.tar.gz packages-42f124647be83797a95fa956bdada69805edbd4d.tar.bz2 packages-42f124647be83797a95fa956bdada69805edbd4d.tar.xz packages-42f124647be83797a95fa956bdada69805edbd4d.zip |
system/libuv: apply upstream tty size patch. actually fixes #695.
Diffstat (limited to 'system/libuv/fix-test-terminal-illness.patch')
-rw-r--r-- | system/libuv/fix-test-terminal-illness.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/system/libuv/fix-test-terminal-illness.patch b/system/libuv/fix-test-terminal-illness.patch deleted file mode 100644 index 85efd77d9..000000000 --- a/system/libuv/fix-test-terminal-illness.patch +++ /dev/null @@ -1,27 +0,0 @@ -This patch addresses the following issue: - - https://git.adelielinux.org/adelie/packages/-/issues/695 - -I've run into this enough times to justify this patch, waking -up in the morning to find that my overnight builds failed, or -during manual testing on laptops with smaller displays that -have a reduce line count when I connect to tmux. - -I don't think width is an issue, but saying "you must be 10 -columns or higher to ride" is arbitrarily restrictive. - ---- a/test/test-tty.c -+++ b/test/test-tty.c -@@ -118,10 +118,10 @@ - - /* - * Is it a safe assumption that most people have terminals larger than -- * 10x10? -+ * 10x10? -- No; you know what they say about assumptions. - */ - ASSERT(width > 10); -- ASSERT(height > 10); -+ ASSERT(height > 3); - - /* Turn on raw mode. */ - r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW); |