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 7271 by doda, Wed Nov 21 08:45:25 2018 UTC revision 7272 by doda, Wed Nov 21 08:45:29 2018 UTC
# Line 2455  void CSSunSequence() /* Sun terminal pri Line 2455  void CSSunSequence() /* Sun terminal pri
2455                  }                  }
2456                  break;                  break;
2457    
2458              case 15: // Report display size (pixel)
2459                    if (ts.WindowFlag & WF_WINDOWREPORT) {
2460                            DispGetRootWinSize(&x, &y, TRUE);
2461                            len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "5;%d;%dt", CLocale, y, x);
2462                            SendCSIstr(Report, len);
2463                    }
2464                    break;
2465    
2466            case 18: /* get terminal size */            case 18: /* get terminal size */
2467                  if (ts.WindowFlag & WF_WINDOWREPORT) {                  if (ts.WindowFlag & WF_WINDOWREPORT) {
2468                          len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "8;%u;%ut", CLocale,                          len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "8;%u;%ut", CLocale,
# Line 2465  void CSSunSequence() /* Sun terminal pri Line 2473  void CSSunSequence() /* Sun terminal pri
2473    
2474            case 19: // Report display size (character)            case 19: // Report display size (character)
2475                  if (ts.WindowFlag & WF_WINDOWREPORT) {                  if (ts.WindowFlag & WF_WINDOWREPORT) {
2476                          DispGetRootWinSize(&x, &y);                          DispGetRootWinSize(&x, &y, FALSE);
2477                          len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "9;%d;%dt", CLocale, y, x);                          len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "9;%d;%dt", CLocale, y, x);
2478                          SendCSIstr(Report, len);                          SendCSIstr(Report, len);
2479                  }                  }

Legend:
Removed from v.7271  
changed lines
  Added in v.7272

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