[Midnightbsd-cvs] mports: cons25-alpine_keymenu.c: add console color patch.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Dec 21 09:59:58 EST 2007


Log Message:
-----------
add console color patch.

Added Files:
-----------
    mports/mail/alpine/files:
        cons25-alpine_keymenu.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ mail/alpine/files/cons25-alpine_keymenu.c
@@ -0,0 +1,15 @@
+--- alpine/keymenu.c.orig	2007-12-21 01:53:12.000000000 -0800
++++ alpine/keymenu.c	2007-12-21 01:53:12.000000000 -0800
+@@ -2601,7 +2601,12 @@
+ 	char  this_label[6*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.


More information about the Midnightbsd-cvs mailing list