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 4239 by doda, Mon Dec 20 04:16:18 2010 UTC revision 4240 by doda, Mon Dec 20 04:41:37 2010 UTC
# Line 2939  void RequestStatusString(unsigned char * Line 2939  void RequestStatusString(unsigned char *
2939                          break;                          break;
2940                  }                  }
2941                  break;                  break;
2942            case 'm':
2943                    if (StrBuff[1] == 0) {
2944                            RepStr[0] = '0';
2945                            RepStr[1] = '$';
2946                            RepStr[2] = 'r';
2947                            len = 3;
2948                            if (CharAttr.Attr & AttrBold) {
2949                                    RepStr[len++] = '1';
2950                                    RepStr[len++] = ';';
2951                            }
2952                            if (CharAttr.Attr & AttrUnder) {
2953                                    RepStr[len++] = '4';
2954                                    RepStr[len++] = ';';
2955                            }
2956                            if (CharAttr.Attr & AttrBlink) {
2957                                    RepStr[len++] = '5';
2958                                    RepStr[len++] = ';';
2959                            }
2960                            if (CharAttr.Attr & AttrReverse) {
2961                                    RepStr[len++] = '7';
2962                                    RepStr[len++] = ';';
2963                            }
2964                            if (len == 3) {
2965                                    RepStr[len++] = '0';
2966                            }
2967                            else {
2968                                    len--;
2969                            }
2970                            RepStr[len++] = 'm';
2971                            RepStr[len] = 0;
2972                    }
2973                    break;
2974          }          }
2975          if (len > 0) {          if (len > 0) {
2976                  SendDCSstr(RepStr, len);                  SendDCSstr(RepStr, len);

Legend:
Removed from v.4239  
changed lines
  Added in v.4240

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