freebsd-ports/mail/pine4/files/patch-pine_screen.c
Doug Barton 4a7ad256d6 This patch allows Pine to display color in a cons25 terminal without
inappropriate scrolling. The problem is related to the behavior of
cons25 when something is written to the lower right corner.

This will cause a "blank" square in that position for some terminals,
but the effect is harmless.

Pointed out by:	Lars Eighner <eighner@io.com>
URL:	http://www.washington.edu/pine/pine-info/2002.01/msg00038.html
2004-08-12 00:04:44 +00:00

15 lines
434 B
C

--- pine/screen.c.orig Wed Apr 7 10:35:42 2004
+++ pine/screen.c Tue Aug 10 22:35:37 2004
@@ -208,7 +208,12 @@
char this_label[MAX_LABEL+1];
j = 6*i - 1;
+
+ /*
+ Change this line so that color works on cons25 terminals
if(i == 1 && !label_color)
+ */
+ if(i == 1)
max_column--; /* Some terminals scroll if you write in the
lower right hand corner. If user has a
label_color set we'll take our chances.