- commit
- 24305c0
- parent
- 12d7505
- author
- Eric Bower
- date
- 2026-04-16 14:50:22 -0400 EDT
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
1@@ -1077,9 +1077,6 @@ const Daemon = struct {
2 defer self.alloc.free(encoded);
3 _ = std.base64.standard.Encoder.encode(encoded, chunk);
4
5- // Bracketed paste mode so the shell buffers input
6- // rather than processing each keystroke individually.
7- self.queuePtyInput("\x1b[200~");
8 self.queuePtyInput("printf '%s' '");
9 self.queuePtyInput(encoded);
10 if (is_first) {
11@@ -1089,7 +1086,6 @@ const Daemon = struct {
12 }
13 self.queuePtyInput(file_path);
14 self.queuePtyInput("'");
15- self.queuePtyInput("\x1b[201~");
16 self.queuePtyInput("\r");
17
18 offset = end;