summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-14 13:22:14 -0400
committerJune McEnroe <june@causal.agency>2019-07-14 13:22:14 -0400
commit54572108a671c1b182d0f7d93df8febff8109a11 (patch)
treed28a4496997653508d82a709269535d5fb19c1dd
parentHandle OSC in shotty (diff)
downloadsrc-54572108a671c1b182d0f7d93df8febff8109a11.tar.gz
src-54572108a671c1b182d0f7d93df8febff8109a11.zip
Fix OSC PT handling
Undo gone wrong!
Diffstat (limited to '')
-rw-r--r--bin/shotty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/shotty.c b/bin/shotty.c
index a75ba850..999cfb5f 100644
--- a/bin/shotty.c
+++ b/bin/shotty.c
@@ -327,8 +327,7 @@ static char updateOSC(wchar_t ch) {
 			return NUL;
 		}
 	}
-	esc = false;
-	return NUL;
+	return OSC;
 }
 
 static void update(wchar_t ch) {