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 10190 by zmatsuo, Fri Aug 26 14:28:55 2022 UTC revision 10192 by zmatsuo, Fri Aug 26 14:29:24 2022 UTC
# Line 3060  void CSGT(BYTE b) Line 3060  void CSGT(BYTE b)
3060          }          }
3061  }  }
3062    
3063  void CSQExchangeColor()         // DECSCNM / Visual Bell  // DECSCNM / Visual Bell
3064    static void CSQExchangeColor(void)
3065  {  {
         COLORREF ColorRef;  
   
3066          BuffUpdateScroll();          BuffUpdateScroll();
3067    
         if (ts.ColorFlag & CF_REVERSECOLOR) {  
                 ColorRef = ts.VTColor[0];  
                 ts.VTColor[0] = ts.VTReverseColor[0];  
                 ts.VTReverseColor[0] = ColorRef;  
                 ColorRef = ts.VTColor[1];  
                 ts.VTColor[1] = ts.VTReverseColor[1];  
                 ts.VTReverseColor[1] = ColorRef;  
         }  
         else {  
                 ColorRef = ts.VTColor[0];  
                 ts.VTColor[0] = ts.VTColor[1];  
                 ts.VTColor[1] = ColorRef;  
         }  
   
         ColorRef = ts.VTBoldColor[0];  
         ts.VTBoldColor[0] = ts.VTBoldColor[1];  
         ts.VTBoldColor[1] = ColorRef;  
   
         ColorRef = ts.VTBlinkColor[0];  
         ts.VTBlinkColor[0] = ts.VTBlinkColor[1];  
         ts.VTBlinkColor[1] = ColorRef;  
   
         ColorRef = ts.URLColor[0];  
         ts.URLColor[0] = ts.URLColor[1];  
         ts.URLColor[1] = ColorRef;  
   
3068          ts.ColorFlag ^= CF_REVERSEVIDEO;          ts.ColorFlag ^= CF_REVERSEVIDEO;
3069    
         BGExchangeColor();  
3070          DispChangeBackground();          DispChangeBackground();
3071          UpdateWindow(HVTWin);          UpdateWindow(HVTWin);
3072  }  }

Legend:
Removed from v.10190  
changed lines
  Added in v.10192

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