projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0981422
)
*** empty log message ***
author
root
<root>
Tue, 22 Aug 2006 13:07:17 +0000
(13:07 +0000)
committer
root
<root>
Tue, 22 Aug 2006 13:07:17 +0000
(13:07 +0000)
src/command.C
patch
|
blob
|
history
diff --git
a/src/command.C
b/src/command.C
index b4097bc1de72841b64b601226f57482f03db561c..2295063514530e4cb419f0a2c7912bc1c697f794 100644
(file)
--- 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';