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 3796 by doda, Tue Feb 23 10:30:54 2010 UTC revision 3797 by doda, Thu Feb 25 09:30:57 2010 UTC
# Line 67  typedef struct { Line 67  typedef struct {
67  typedef TStatusBuff *PStatusBuff;  typedef TStatusBuff *PStatusBuff;
68    
69  // status buffer for main screen & status line  // status buffer for main screen & status line
70  static TStatusBuff SBuff1, SBuff2;  static TStatusBuff SBuff1, SBuff2, SBuff3;
71    
72  static BOOL ESCFlag, JustAfterESC;  static BOOL ESCFlag, JustAfterESC;
73  static BOOL KanjiIn;  static BOOL KanjiIn;
# Line 151  void ResetSBuffers() Line 151  void ResetSBuffers()
151    SBuff1.RelativeOrgMode = FALSE;    SBuff1.RelativeOrgMode = FALSE;
152    // copy SBuff1 to SBuff2    // copy SBuff1 to SBuff2
153    SBuff2 = SBuff1;    SBuff2 = SBuff1;
154      SBuff3 = SBuff1;
155  }  }
156    
157  void ResetTerminal() /*reset variables but don't update screen */  void ResetTerminal() /*reset variables but don't update screen */
# Line 875  void SaveCursor() Line 876  void SaveCursor()
876    if ((StatusLine>0) &&    if ((StatusLine>0) &&
877        (CursorY==NumOfLines-1))        (CursorY==NumOfLines-1))
878      Buff = &SBuff2; // for status line      Buff = &SBuff2; // for status line
879      else if (AltScr)
880        Buff = &SBuff3; // for alternate screen
881    else    else
882      Buff = &SBuff1; // for main screen      Buff = &SBuff1; // for main screen
883    
# Line 898  void  RestoreCursor() Line 901  void  RestoreCursor()
901    if ((StatusLine>0) &&    if ((StatusLine>0) &&
902        (CursorY==NumOfLines-1))        (CursorY==NumOfLines-1))
903      Buff = &SBuff2; // for status line      Buff = &SBuff2; // for status line
904      else if (AltScr)
905        Buff = &SBuff3; // for alternate screen
906    else    else
907      Buff = &SBuff1; // for main screen      Buff = &SBuff1; // for main screen
908    

Legend:
Removed from v.3796  
changed lines
  Added in v.3797

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