From 7839aae516bf29dc2517723d746ed70fe6b64037 Mon Sep 17 00:00:00 2001 From: Vincent Gariepy Date: Sat, 3 May 2014 20:20:14 -0400 Subject: [PATCH] neth: use scroll() --- neth/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/neth/main.cpp b/neth/main.cpp index 69e9cd6e1..744454def 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -247,12 +247,7 @@ int nc_window_streambuf::overflow(int c) if (x > mx - 4) { if (y + 1 >= my) - { - if (mvwaddch(m_pnl, y, x++, (chtype)EOF) == ERR) - return EOF; - else - return c; - } + scroll(m_pnl); else y++; x = 2;