Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/vtterm.c
Parent Directory
| Revision Log
| Patch
| 117 |
static BYTE NewKeyStr[FuncKeyStrMax]; |
static BYTE NewKeyStr[FuncKeyStrMax]; |
| 118 |
static int NewKeyId, NewKeyLen; |
static int NewKeyId, NewKeyLen; |
| 119 |
|
|
| 120 |
static _locale_t CLocale; |
static _locale_t CLocale = NULL; |
| 121 |
|
|
| 122 |
void ResetSBuffers() |
void ResetSBuffers() |
| 123 |
{ |
{ |
| 174 |
FocusReportMode = FALSE; |
FocusReportMode = FALSE; |
| 175 |
MouseReportMode = IdMouseTrackNone; |
MouseReportMode = IdMouseTrackNone; |
| 176 |
|
|
| 177 |
CLocale = _create_locale(LC_ALL, "C"); |
if (CLocale == NULL) { |
| 178 |
|
CLocale = _create_locale(LC_ALL, "C"); |
| 179 |
|
} |
| 180 |
|
|
| 181 |
/* Character sets */ |
/* Character sets */ |
| 182 |
ResetCharSet(); |
ResetCharSet(); |
| 3552 |
Sleep(10); |
Sleep(10); |
| 3553 |
CSQExchangeColor(); |
CSQExchangeColor(); |
| 3554 |
} |
} |
| 3555 |
|
|
| 3556 |
|
void EndTerm() { |
| 3557 |
|
if (CLocale) { |
| 3558 |
|
_free_locale(CLocale); |
| 3559 |
|
} |
| 3560 |
|
CLocale = NULL; |
| 3561 |
|
} |
|
|
Legend:
| Removed from v.3446 |
|
| changed lines |
| |
Added in v.3450 |
|
|
|