Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/vtterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2628 by doda, Wed Dec 24 09:38:42 2008 UTC revision 2640 by doda, Sun Jan 25 14:44:37 2009 UTC
# Line 1821  void CSSetAttr() Line 1821  void CSSetAttr()
1821        BuffUpdateScroll();        BuffUpdateScroll();
1822    
1823        ColorRef = ts.VTColor[0];        ColorRef = ts.VTColor[0];
1824        ts.VTColor[0] = ts.VTColor[1];        ts.VTColor[0] = ts.VTReverseColor[0];
1825        ts.VTColor[1] = ColorRef;        ts.VTReverseColor[0] = ColorRef;
1826          ColorRef = ts.VTColor[1];
1827          ts.VTColor[1] = ts.VTReverseColor[1];
1828          ts.VTReverseColor[1] = ColorRef;
1829    
1830        ColorRef = ts.VTBoldColor[0];        ColorRef = ts.VTBoldColor[0];
1831        ts.VTBoldColor[0] = ts.VTBoldColor[1];        ts.VTBoldColor[0] = ts.VTBoldColor[1];
# Line 1836  void CSSetAttr() Line 1839  void CSSetAttr()
1839        ts.URLColor[0] = ts.URLColor[1];        ts.URLColor[0] = ts.URLColor[1];
1840        ts.URLColor[1] = ColorRef;        ts.URLColor[1] = ColorRef;
1841    
1842          ReverseColor = !ReverseColor;
1843    
1844  #ifdef ALPHABLEND_TYPE2  #ifdef ALPHABLEND_TYPE2
1845        BGInitialize();        BGInitialize();
1846  #endif  #endif
# Line 1853  void CSSetAttr() Line 1858  void CSSetAttr()
1858            case 3:            case 3:
1859              ChangeTerminalSize(132,NumOfLines-StatusLine);              ChangeTerminalSize(132,NumOfLines-StatusLine);
1860              break;              break;
1861            case 5:            case 5: /* Reverse Video */
1862              if (ReverseColor) return;              if (!ReverseColor)
1863              ReverseColor = TRUE;                CSQExchangeColor(); /* Exchange text/back color */
               /* Exchange text/back color */  
             CSQExchangeColor();  
1864              break;              break;
1865            case 6:            case 6:
1866              if ((StatusLine>0) &&              if ((StatusLine>0) &&
# Line 1959  void CSSetAttr() Line 1962  void CSSetAttr()
1962            case 3:            case 3:
1963              ChangeTerminalSize(80,NumOfLines-StatusLine);              ChangeTerminalSize(80,NumOfLines-StatusLine);
1964              break;              break;
1965            case 5:            case 5: /* Normal Video */
1966              if (! ReverseColor) return;              if (ReverseColor)
1967              ReverseColor = FALSE;                CSQExchangeColor(); /* Exchange text/back color */
             /* Exchange text/back color */  
             CSQExchangeColor();  
1968              break;              break;
1969            case 6:            case 6:
1970              if ((StatusLine>0) &&              if ((StatusLine>0) &&

Legend:
Removed from v.2628  
changed lines
  Added in v.2640

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26