repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 793040efd327c3ae156b5901107590c9f338e361: path_to: revision_to:
commit 793040efd327c3ae156b5901107590c9f338e361 Author: Marc LehmannDate: Tue Aug 22 13:07:17 2006 +0000 *** empty log message *** diff --git a/src/command.C b/src/command.C
--- a/src/command.C
+++ b/src/command.C
@@ -3676,6 +3676,8 @@ rxvt_term::get_to_st (unicode_t &ends_how)
}
else if (ch == C0_BEL || ch == CHAR_ST)
break;
+ else if (ch == C0_SYN)
+ ch = cmd_get8 ();
else if (ch < 0x20)
return NULL; /* other control character - exit */
@@ -3685,10 +3687,7 @@ rxvt_term::get_to_st (unicode_t &ends_how)
// stop at some sane length
return NULL;
- if (ch == C0_SYN)
- string[n++] = cmd_get8 ();
- else
- string[n++] = ch;
+ string[n++] = ch;
}
string[n++] = '\0';
-----END OF PAGE-----