[Patch]: Ncurses frame drawing

Pierre A. Humblet pierre@phumblet.no-ip.org
Wed Oct 15 03:20:00 GMT 2003


At 10:26 PM 10/14/2003 +0200, Micha Nelissen wrote:
>@@ -1110,6 +1117,12 @@
> 	       break;
> 	     case 9:    /* dim */
> 	       dev_state->intensity = INTENSITY_DIM;
>+	       break;
>+             case 10:   /* end alternate charset */
>+               alternate_charset_active = FALSE;
>+	       break;
>+             case 11:   /* start alternate charset */
>+               alternate_charset_active = TRUE;
> 	       break;
> 	     case 24:
> 	       dev_state->underline = FALSE;

FWIW, wouldn't it be cleaner to make "alternate_charset_active" a 
member of dev_state instead of introducing a new global variable?

Pierre



More information about the Cygwin-patches mailing list