ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.314 by root, Thu Jul 6 23:48:11 2006 UTC vs.
Revision 1.316 by root, Thu Dec 7 20:59:59 2006 UTC

1458 break; 1458 break;
1459 } 1459 }
1460 break; 1460 break;
1461 1461
1462 case FocusIn: 1462 case FocusIn:
1463 if (ev.xfocus.detail != NotifyInferior && ev.xfocus.detail != NotifyPointer)
1463 focus_in (); 1464 focus_in ();
1464 break; 1465 break;
1465 1466
1466 case FocusOut: 1467 case FocusOut:
1468 if (ev.xfocus.detail != NotifyInferior && ev.xfocus.detail != NotifyPointer)
1467 focus_out (); 1469 focus_out ();
1468 break; 1470 break;
1469 1471
1470 case ConfigureNotify: 1472 case ConfigureNotify:
1471 if (ev.xconfigure.window == parent[0]) 1473 if (ev.xconfigure.window == parent[0])
1472 { 1474 {
3674 seen_esc = true; 3676 seen_esc = true;
3675 continue; 3677 continue;
3676 } 3678 }
3677 else if (ch == C0_BEL || ch == CHAR_ST) 3679 else if (ch == C0_BEL || ch == CHAR_ST)
3678 break; 3680 break;
3681 else if (ch == C0_SYN)
3682 ch = cmd_get8 ();
3679 else if (ch < 0x20) 3683 else if (ch < 0x20)
3680 return NULL; /* other control character - exit */ 3684 return NULL; /* other control character - exit */
3681 3685
3682 seen_esc = false; 3686 seen_esc = false;
3683 3687
3684 if (n >= STRING_MAX - 1) 3688 if (n >= STRING_MAX - 1)
3685 // stop at some sane length 3689 // stop at some sane length
3686 return NULL; 3690 return NULL;
3687 3691
3688 if (ch == C0_SYN)
3689 string[n++] = cmd_get8 ();
3690 else
3691 string[n++] = ch; 3692 string[n++] = ch;
3692 } 3693 }
3693 3694
3694 string[n++] = '\0'; 3695 string[n++] = '\0';
3695 3696
3696 ends_how = (ch == 0x5c ? C0_ESC : ch); 3697 ends_how = (ch == 0x5c ? C0_ESC : ch);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines