Commit 24305c0

Eric Bower  ·  2026-04-16 14:50:22 -0400 EDT
parent 12d7505
fix(write): remove bracketed paste

Some shell environments don't support it and we are only sending 1 line at a time
so we should be okay to remove it.
1 files changed,  +0, -4
+0, -4
......@@ -1077,9 +1077,6 @@ const Daemon = struct {
10771077 defer self.alloc.free(encoded);
10781078 _ = std.base64.standard.Encoder.encode(encoded, chunk);
10791079
1080- // Bracketed paste mode so the shell buffers input
1081- // rather than processing each keystroke individually.
1082- self.queuePtyInput("\x1b[200~");
10831080 self.queuePtyInput("printf '%s' '");
10841081 self.queuePtyInput(encoded);
10851082 if (is_first) {
......@@ -1089,7 +1086,6 @@ const Daemon = struct {
10891086 }
10901087 self.queuePtyInput(file_path);
10911088 self.queuePtyInput("'");
1092- self.queuePtyInput("\x1b[201~");
10931089 self.queuePtyInput("\r");
10941090
10951091 offset = end;