Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/vtterm.c
Parent Directory
| Revision Log
| Patch
| 70 |
|
|
| 71 |
static int VTlevel; |
static int VTlevel; |
| 72 |
|
|
| 73 |
|
BOOL AcceptWheelToCursor; |
| 74 |
|
|
| 75 |
// save/restore cursor |
// save/restore cursor |
| 76 |
typedef struct { |
typedef struct { |
| 77 |
int CursorX, CursorY; |
int CursorX, CursorY; |
| 216 |
AppliKeyMode = FALSE; |
AppliKeyMode = FALSE; |
| 217 |
AppliCursorMode = FALSE; |
AppliCursorMode = FALSE; |
| 218 |
AppliEscapeMode = FALSE; |
AppliEscapeMode = FALSE; |
| 219 |
|
AcceptWheelToCursor = ts.TranslateWheelToCursor; |
| 220 |
RelativeOrgMode = FALSE; |
RelativeOrgMode = FALSE; |
| 221 |
ts.ColorFlag &= ~CF_REVERSEVIDEO; |
ts.ColorFlag &= ~CF_REVERSEVIDEO; |
| 222 |
AutoRepeatMode = TRUE; |
AutoRepeatMode = TRUE; |
| 2398 |
case 7727: // mintty Application Escape Mode |
case 7727: // mintty Application Escape Mode |
| 2399 |
AppliEscapeMode = TRUE; |
AppliEscapeMode = TRUE; |
| 2400 |
break; |
break; |
| 2401 |
|
case 7786: // Wheel to Cursor translation |
| 2402 |
|
if (ts.TranslateWheelToCursor) { |
| 2403 |
|
AcceptWheelToCursor = TRUE; |
| 2404 |
|
} |
| 2405 |
|
break; |
| 2406 |
} |
} |
| 2407 |
} |
} |
| 2408 |
|
|
| 2522 |
case 7727: // mintty Application Escape Mode |
case 7727: // mintty Application Escape Mode |
| 2523 |
AppliEscapeMode = FALSE; |
AppliEscapeMode = FALSE; |
| 2524 |
break; |
break; |
| 2525 |
|
case 7786: // Wheel to Cursor translation |
| 2526 |
|
AcceptWheelToCursor = FALSE; |
| 2527 |
|
break; |
| 2528 |
} |
} |
| 2529 |
} |
} |
| 2530 |
|
|
| 2562 |
AppliKeyMode = FALSE; |
AppliKeyMode = FALSE; |
| 2563 |
AppliCursorMode = FALSE; |
AppliCursorMode = FALSE; |
| 2564 |
AppliEscapeMode = FALSE; |
AppliEscapeMode = FALSE; |
| 2565 |
|
AcceptWheelToCursor = ts.TranslateWheelToCursor; |
| 2566 |
if ((StatusLine>0) && |
if ((StatusLine>0) && |
| 2567 |
(CursorY == NumOfLines-1)) |
(CursorY == NumOfLines-1)) |
| 2568 |
MoveToMainScreen(); |
MoveToMainScreen(); |
| 4472 |
return BracketedPaste; |
return BracketedPaste; |
| 4473 |
} |
} |
| 4474 |
|
|
| 4475 |
|
BOOL WheelToCursorMode() { |
| 4476 |
|
return AcceptWheelToCursor && AppliCursorMode && !ts.DisableAppCursor && !(ControlKey() && ts.DisableWheelToCursorByCtrl); |
| 4477 |
|
} |
| 4478 |
|
|
| 4479 |
void ChangeTerminalID() { |
void ChangeTerminalID() { |
| 4480 |
switch (ts.TerminalID) { |
switch (ts.TerminalID) { |
| 4481 |
case IdVT220J: |
case IdVT220J: |
|
|
Legend:
| Removed from v.4291 |
|
| changed lines |
| |
Added in v.4293 |
|
|
|