bincxz and Claude
8bae9ea584
fix(terminal): bound the open output-history line and parse ESC intermediates
...
Two robustness gaps in the alternate-screen preview transcript:
- A cursor-addressed redraw (cursor-home CSI stripped, no LF) appended every
frame to the open line, which the character cap only checked on commit, so
it grew without limit and every append copied it whole. Commit the open
line once it reaches the budget and clip each span to the remaining room.
- Escape sequences were assumed to be two bytes, so intermediate bytes leaked
their final byte into the transcript (ESC ( B from ncurses/reset left a
stray B). Consume intermediates (0x20-0x2f) through the final byte
(0x30-0x7e) per ECMA-48.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-08-27 13:11:37 +08:00
..
2026-08-20 11:52:29 +08:00
2026-08-15 03:18:25 +08:00
2026-08-08 02:24:57 +00:00
2026-08-23 23:06:56 +08:00
2026-08-12 22:00:18 +08:00
2026-07-29 17:52:50 +08:00
2026-06-23 14:20:05 +08:00
2026-07-24 02:52:39 +00:00
2026-08-25 10:20:24 +08:00
2026-07-26 02:10:37 +08:00
2026-08-11 14:44:30 +08:00
2026-08-12 12:04:42 +08:00
2026-08-24 22:51:55 +08:00
2026-08-24 23:11:13 +08:00
2026-08-11 17:31:23 +08:00
2026-08-13 00:47:47 +00:00
2026-08-27 13:11:37 +08:00
2026-08-23 00:52:39 +08:00
2026-08-18 20:45:29 +08:00
2026-08-23 00:52:39 +08:00
2026-08-07 14:37:37 +00:00
2026-08-24 22:51:55 +08:00
2026-07-28 11:48:01 +08:00
2026-07-21 19:35:31 +08:00
2026-08-03 14:09:19 +08:00
2026-08-19 23:51:05 +08:00
2026-06-09 03:35:03 +08:00
2026-08-21 15:39:01 +08:00
2026-08-21 15:39:01 +08:00
2026-08-21 15:39:01 +08:00
2026-08-20 11:52:29 +08:00
2026-08-20 11:52:29 +08:00
2026-08-18 20:22:34 +08:00
2026-08-06 00:49:56 +08:00
2026-08-06 00:49:56 +08:00
2026-08-19 10:18:28 +08:00
2026-08-19 10:18:28 +08:00
2026-08-19 10:18:28 +08:00
2026-08-18 17:24:46 +08:00
2026-07-18 15:43:36 +08:00
2026-07-18 15:43:36 +08:00
2026-07-06 22:20:39 +08:00
2026-07-25 18:40:01 +08:00
2026-08-08 02:24:57 +00:00
2026-07-27 19:26:20 +08:00
2026-08-07 14:37:37 +00:00
2026-06-06 22:52:35 +08:00
2026-06-06 22:52:35 +08:00
2026-06-17 23:32:36 +08:00
2026-06-22 10:49:24 +08:00
2026-07-28 11:48:01 +08:00
2026-07-30 10:55:11 +08:00
2026-07-21 13:27:20 +08:00
2026-07-21 13:27:20 +08:00
2026-06-08 21:42:18 +08:00
2026-08-25 10:57:20 +08:00
2026-08-20 16:17:44 +08:00
2026-08-20 17:03:48 +08:00
2026-07-12 10:54:55 +08:00
2026-07-27 19:01:50 +08:00
2026-07-22 00:49:06 +08:00
2026-08-05 10:58:22 +08:00
2026-08-04 02:11:55 +08:00
2026-08-04 02:11:55 +08:00
2026-07-29 08:59:45 +00:00
2026-07-29 08:59:45 +00:00
2026-06-29 23:48:41 +08:00
2026-08-06 13:17:24 +08:00
2026-08-04 02:22:15 +08:00
2026-08-05 09:53:37 +08:00
2026-06-22 10:49:24 +08:00
2026-06-28 23:48:12 +08:00
2026-07-03 10:47:59 +08:00
2026-07-28 11:48:01 +08:00
2026-07-28 00:54:03 +08:00
2026-08-12 22:24:12 +08:00
2026-07-21 11:41:46 +08:00
2026-07-21 04:29:26 +00:00
2026-07-24 11:40:16 +08:00
2026-05-28 15:12:19 +08:00
2026-07-20 20:08:00 +08:00
2026-07-20 20:08:00 +08:00
2026-07-24 11:40:16 +08:00
2026-07-30 08:57:46 +00:00
2026-07-24 22:58:38 +08:00
2026-08-07 14:38:24 +00:00
2026-08-07 14:38:24 +00:00
2026-07-09 02:56:23 +08:00
2026-08-06 15:47:20 +08:00
2026-07-26 00:44:13 +08:00
2026-08-11 15:06:32 +08:00
2026-08-16 00:27:54 -05:00
2026-07-27 15:41:08 +08:00
2026-07-27 15:41:08 +08:00
2026-07-22 00:41:32 +08:00
2026-08-06 13:17:24 +08:00
2026-08-06 13:17:24 +08:00
2026-06-29 23:26:53 +08:00
2026-08-17 17:55:06 +08:00
2026-08-17 17:55:06 +08:00
2026-07-22 00:41:32 +08:00
2026-07-22 00:41:32 +08:00
2026-08-21 17:15:25 +08:00
2026-08-21 17:15:25 +08:00
2026-06-29 11:17:54 +08:00
2026-08-10 11:02:28 +08:00
2026-08-10 11:02:28 +08:00
2026-08-12 12:04:42 +08:00
2026-06-28 23:48:12 +08:00
2026-08-11 14:57:08 +08:00
2026-08-11 14:57:08 +08:00
2026-07-15 14:05:08 +08:00
2026-07-21 16:51:03 +08:00
2026-08-10 19:34:34 +08:00
2026-08-23 22:58:21 +08:00
2026-07-25 21:54:04 +08:00
2026-05-09 17:47:45 +08:00
2026-08-14 11:38:16 +08:00
2026-06-09 03:35:03 +08:00
2026-08-07 02:01:18 +08:00
2026-08-21 17:27:12 +08:00
2026-08-21 17:27:12 +08:00
2026-05-31 18:01:43 +08:00
2026-08-03 00:57:24 +08:00
2026-05-28 15:12:19 +08:00
2026-07-30 17:28:16 +08:00
2026-08-21 23:02:55 +08:00
2026-05-28 15:12:19 +08:00
2026-08-12 12:04:42 +08:00
2026-08-05 18:43:10 +08:00
2026-08-07 14:40:38 +08:00
2026-08-27 12:13:35 +08:00
2026-07-12 10:54:55 +08:00
2026-07-12 10:54:55 +08:00
2026-08-22 23:40:05 +08:00
2026-08-07 14:40:38 +08:00
2026-08-22 14:49:29 +08:00
2026-08-21 17:15:25 +08:00
2026-08-18 13:18:46 +08:00
2026-08-18 13:18:46 +08:00
2026-08-18 17:24:46 +08:00
2026-08-18 16:30:30 +08:00
2026-06-10 01:10:33 +08:00
2026-06-10 23:19:31 +08:00
2026-05-18 20:00:10 +08:00
2026-07-12 23:54:38 +08:00
2026-05-25 22:20:45 +08:00
2026-06-29 01:41:03 +08:00
2026-08-12 11:44:35 +08:00
2026-08-18 16:30:30 +08:00
2026-07-27 17:25:47 +08:00
2026-08-11 14:44:30 +08:00
2026-08-19 14:23:41 +08:00
2026-08-19 14:23:41 +08:00
2026-06-22 22:19:20 +08:00
2026-08-07 14:38:24 +00:00
2026-08-12 20:37:10 +08:00
2026-08-12 20:37:10 +08:00
2026-07-28 00:54:03 +08:00