|
From: Ethan M. <merritt@u.washington.edu> - 2009-07-12 17:11:26
|
On Sunday 12 July 2009, Mojca Miklavec wrote: > Hello, > > What exactly does "TERM_MONOCHROME" flag do (what consequences should it have)? As explained in the ChangeLog for this recent addition, it indicates that the terminal is currently in monochrome mode (usually because of the command 'set term ... monochrome'. The core code does not use the flag yet. It was added in preparation for a series of patches that allows the user to redefine the default sequence of line properties. #2004590 mechanism to redefine base linetypes The idea is that even if the terminal is capable of RGB colors, and the user redefines linetype N to be purple, if the terminal is currently showing the TERM_MONOCHROME flag then the core code should interpret "lt 3" as black and perhaps dashed rather than as purple. |