summary refs log tree commit diff
diff options
context:
space:
mode:
-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) {