From 42f124647be83797a95fa956bdada69805edbd4d Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 9 Feb 2023 06:03:23 +0000 Subject: system/libuv: apply upstream tty size patch. actually fixes #695. --- system/libuv/fix-test-terminal-illness.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 system/libuv/fix-test-terminal-illness.patch (limited to 'system/libuv/fix-test-terminal-illness.patch') 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); -- cgit v1.2.3-60-g2f50