repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 793040efd327c3ae156b5901107590c9f338e361:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 793040efd327c3ae156b5901107590c9f338e361
Author: Marc Lehmann 
Date:   Tue Aug 22 13:07:17 2006 +0000

    *** empty log message ***

diff --git a/src/command.C b/src/command.C
index b4097bc1de72841b64b601226f57482f03db561c..
index ..2295063514530e4cb419f0a2c7912bc1c697f794 100644
--- 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-----