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 3466 by doda, Thu Jun 11 10:31:09 2009 UTC revision 3469 by doda, Fri Jun 12 08:43:03 2009 UTC
# Line 1760  void CSSetAttr() Line 1760  void CSSetAttr()
1760    
1761    void CSSunSequence() /* Sun terminal private sequences */    void CSSunSequence() /* Sun terminal private sequences */
1762    {    {
1763        int x, y;
1764      char Report[16];      char Report[16];
1765    
1766      switch (Param[1]) {      switch (Param[1]) {
# Line 1808  void CSSetAttr() Line 1809  void CSSetAttr()
1809            _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "\033[%dt", CLocale, DispWindowIconified()?2:1);            _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "\033[%dt", CLocale, DispWindowIconified()?2:1);
1810          CommBinaryOut(&cv,Report,strlen(Report));          CommBinaryOut(&cv,Report,strlen(Report));
1811          break;          break;
1812          case 13: // Report window position
1813            DispGetWindowPos(&x, &y);
1814            if (Send8BitMode)
1815              _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "\2333;%d;%dt", CLocale, x, y);
1816            else
1817              _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "\033[3;%d;%dt", CLocale, x, y);
1818            CommBinaryOut(&cv,Report,strlen(Report));
1819            break;
1820        case 14: /* get window size??? */        case 14: /* get window size??? */
1821          /* this is not actual window size */          /* this is not actual window size */
1822          if (Send8BitMode)          if (Send8BitMode)

Legend:
Removed from v.3466  
changed lines
  Added in v.3469

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