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 5558 by doda, Thu Mar 27 03:21:01 2014 UTC revision 5564 by doda, Mon Mar 31 08:30:11 2014 UTC
# Line 66  static TCharAttr CharAttr; Line 66  static TCharAttr CharAttr;
66  static BOOL RelativeOrgMode;  static BOOL RelativeOrgMode;
67  static BOOL InsertMode;  static BOOL InsertMode;
68  static BOOL LFMode;  static BOOL LFMode;
69    static BOOL ClearThenHome;
70  static BOOL AutoWrapMode;  static BOOL AutoWrapMode;
71  static BOOL FocusReportMode;  static BOOL FocusReportMode;
72  static BOOL AltScr;  static BOOL AltScr;
# Line 259  void ResetTerminal() /*reset variables b Line 260  void ResetTerminal() /*reset variables b
260    MouseReportMode = IdMouseTrackNone;    MouseReportMode = IdMouseTrackNone;
261    MouseReportExtMode = IdMouseTrackExtNone;    MouseReportExtMode = IdMouseTrackExtNone;
262    DecLocatorFlag = 0;    DecLocatorFlag = 0;
263      ClearThenHome = FALSE;
264    
265    ChangeTerminalID();    ChangeTerminalID();
266    
# Line 1538  void CSScreenErase() Line 1540  void CSScreenErase()
1540                  //      Erase screen (scroll out)                  //      Erase screen (scroll out)
1541                  BuffClearScreen();                  BuffClearScreen();
1542                  UpdateWindow(HVTWin);                  UpdateWindow(HVTWin);
1543                    if (ClearThenHome && !isCursorOnStatusLine) {
1544                            if (RelativeOrgMode) {
1545                                    MoveCursor(0, 0);
1546                            }
1547                            else {
1548                                    MoveCursor(CursorLeftM, CursorTop);
1549                            }
1550                    }
1551                  break;                  break;
1552          }          }
1553  }  }
# Line 2715  void CSSetLRScrollRegion()     // DECSLRM Line 2725  void CSSetLRScrollRegion()     // DECSLRM
2725                AcceptWheelToCursor = TRUE;                AcceptWheelToCursor = TRUE;
2726              }              }
2727              break;              break;
2728              case 8200: // ClearThenHome
2729                ClearThenHome = TRUE;
2730                break;
2731            case 14001: // NetTerm mouse mode            case 14001: // NetTerm mouse mode
2732              if (ts.MouseEventTracking)              if (ts.MouseEventTracking)
2733                MouseReportMode = IdMouseTrackNetTerm;                MouseReportMode = IdMouseTrackNetTerm;
# Line 2856  void CSSetLRScrollRegion()     // DECSLRM Line 2869  void CSSetLRScrollRegion()     // DECSLRM
2869            case 7786: // Wheel to Cursor translation            case 7786: // Wheel to Cursor translation
2870              AcceptWheelToCursor = FALSE;              AcceptWheelToCursor = FALSE;
2871              break;              break;
2872              case 8200: // ClearThenHome
2873                ClearThenHome = FALSE;
2874                break;
2875            case 14001: // NetTerm mouse mode            case 14001: // NetTerm mouse mode
2876              MouseReportMode = IdMouseTrackNone;              MouseReportMode = IdMouseTrackNone;
2877              break;              break;
# Line 3234  void CSSetLRScrollRegion()     // DECSLRM Line 3250  void CSSetLRScrollRegion()     // DECSLRM
3250                resp = 1;                resp = 1;
3251              else              else
3252                resp = 2;                resp = 2;
3253                break;
3254              case 8200:    // ClearThenHome
3255                if (ClearThenHome)
3256                  resp = 1;
3257                else
3258                  resp = 2;
3259              break;              break;
3260            case 14001:   // NetTerm Mouse Reporting (TT)            case 14001:   // NetTerm Mouse Reporting (TT)
3261              if (!ts.MouseEventTracking)              if (!ts.MouseEventTracking)

Legend:
Removed from v.5558  
changed lines
  Added in v.5564

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