diff options
Diffstat (limited to 'net-analyzer/nload')
-rw-r--r-- | net-analyzer/nload/files/nload-0.7.4-Eliminate-flicker-on-some-terminals.patch | 26 | ||||
-rw-r--r-- | net-analyzer/nload/nload-0.7.4-r1.ebuild | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/nload/files/nload-0.7.4-Eliminate-flicker-on-some-terminals.patch b/net-analyzer/nload/files/nload-0.7.4-Eliminate-flicker-on-some-terminals.patch new file mode 100644 index 000000000000..8d13545c786c --- /dev/null +++ b/net-analyzer/nload/files/nload-0.7.4-Eliminate-flicker-on-some-terminals.patch @@ -0,0 +1,26 @@ +From 8a93886e0fb33a81b8fe32e88ee106a581fedd34 Mon Sep 17 00:00:00 2001 +From: Roland Riegel <roland@roland-riegel.de> +Date: Sun, 28 Jan 2018 16:59:39 +0100 +Subject: [PATCH 1/1] Eliminate flicker on some terminals like rxvt (thanks to + Alex Wilson) + +--- + src/window.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/window.cpp b/src/window.cpp +index bfa7701..2083fd0 100644 +--- a/src/window.cpp ++++ b/src/window.cpp +@@ -108,7 +108,7 @@ void Window::refresh() + void Window::clear() + { + if(m_window) +- wclear(m_window); ++ werase(m_window); + } + + // move and resize window +-- +2.16.4 + diff --git a/net-analyzer/nload/nload-0.7.4-r1.ebuild b/net-analyzer/nload/nload-0.7.4-r1.ebuild index d65af8f42024..1de5b5721038 100644 --- a/net-analyzer/nload/nload-0.7.4-r1.ebuild +++ b/net-analyzer/nload/nload-0.7.4-r1.ebuild @@ -19,6 +19,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-tinfo.patch + "${FILESDIR}"/${P}-Eliminate-flicker-on-some-terminals.patch ) src_prepare() { |