陈大猫
0261931f95
fix(terminal): keep broadcast going on vim ex command-line ( #3467 )
...
* fix(terminal): keep broadcast going on vim ex command-line
Broadcast pauses on fail-closed colon prompts so passwords are not
copied to peers. Vim command mode's last line is a bare `:`, which
matched that heuristic. Exempt lines that start with `:` so `:w` and
friends stay in sync; `Password:` is unchanged.
* fix(terminal): only treat a bare colon as vim command-mode
Codex: exempting every `:`-prefixed line would broadcast into custom
prompts such as `sudo -p ':'`. The hang is the first `:` key; later
`:w` no longer matches the trailing-colon heuristic.
* fix(terminal): exempt vim colon only on the alternate screen
A bare `:` on the primary screen can be `sudo -p ':'`. Vim command mode
uses DEC 1049, so require alternateScreen before treating `:` as ex.
* test(terminal): allow alternateScreen in prompt-security options
2026-09-21 16:09:50 +08:00
..
2026-09-18 14:09:47 +08:00
2026-09-18 15:19:34 +08:00
2026-09-21 14:56:48 +08:00
2026-09-07 11:46:23 +08:00
2026-09-05 13:13:56 +08:00
2026-09-18 14:09:47 +08:00
2026-07-24 21:12:47 +08:00
2026-07-24 21:12:47 +08:00
2026-08-05 10:29:37 +08:00
2026-08-05 10:29:37 +08:00
2026-08-20 16:39:32 +08:00
2026-08-12 09:23:27 +08:00
2026-08-12 16:14:43 +08:00
2026-08-12 16:14:43 +08:00
2026-08-14 20:02:46 +08:00
2026-08-14 20:02:46 +08:00
2026-08-18 10:05:21 +08:00
2026-08-18 10:05:21 +08:00
2026-09-12 11:55:36 +08:00
2026-09-12 11:55:36 +08:00
2026-08-06 05:00:00 +08:00
2026-08-07 02:01:18 +08:00
2026-08-09 20:19:26 +08:00
2026-08-09 12:27:07 +08:00
2026-08-18 09:53:42 +08:00
2026-08-07 14:40:38 +08:00
2026-08-07 14:40:38 +08:00
2026-07-29 14:54:20 +08:00
2026-09-05 13:13:56 +08:00
2026-09-05 13:13:56 +08:00
2026-07-21 10:44:36 +08:00
2026-07-21 10:44:36 +08:00
2026-08-29 13:58:33 +08:00
2026-07-22 11:56:53 +08:00
2026-09-18 15:19:34 +08:00
2026-09-18 15:19:34 +08:00
2026-08-17 21:21:46 +08:00
2026-08-17 21:21:46 +08:00
2026-08-10 11:45:33 +08:00
2026-08-10 11:45:33 +08:00
2026-07-20 22:40:48 +08:00
2026-07-20 22:40:48 +08:00
2026-07-21 02:22:53 +08:00
2026-07-21 10:44:36 +08:00
2026-08-13 21:26:16 +08:00
2026-08-13 21:26:16 +08:00
2026-08-11 03:48:30 +00:00
2026-08-10 23:35:56 +08:00
2026-08-10 23:35:56 +08:00
2026-08-31 14:28:16 +08:00
2026-08-12 16:14:43 +08:00
2026-09-12 16:55:18 +08:00
2026-07-30 11:38:25 +08:00
2026-07-31 14:21:05 +08:00
2026-08-12 06:06:39 -07:00
2026-08-12 06:06:39 -07:00
2026-08-10 23:35:56 +08:00
2026-08-10 23:35:56 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-08-12 12:04:42 +08:00
2026-08-29 13:58:33 +08:00
2026-08-20 16:39:32 +08:00
2026-08-18 13:59:56 +08:00
2026-08-29 14:39:21 +08:00
2026-08-28 10:01:09 +00:00
2026-09-07 16:31:11 +08:00
2026-09-18 15:19:34 +08:00
2026-09-18 15:19:34 +08:00
2026-09-12 17:47:27 +08:00
2026-09-12 17:47:27 +08:00
2026-08-20 16:00:59 +08:00
2026-08-20 16:00:59 +08:00
2026-08-20 16:00:59 +08:00
2026-09-12 16:55:18 +08:00
2026-09-12 16:55:18 +08:00
2026-09-12 17:09:49 +08:00
2026-08-20 15:52:52 +08:00
2026-08-17 19:26:59 +08:00
2026-09-13 15:31:53 +08:00
2026-09-06 10:56:35 +08:00
2026-09-02 11:58:09 +08:00
2026-09-18 15:19:34 +08:00
2026-08-12 09:32:41 +00:00
2026-08-13 21:26:16 +08:00
2026-08-13 21:26:16 +08:00
2026-08-07 14:40:38 +08:00
2026-07-21 10:44:36 +08:00
2026-09-12 11:55:36 +08:00
2026-09-12 11:55:36 +08:00
2026-09-12 11:11:07 +08:00
2026-09-12 11:11:07 +08:00
2026-09-12 11:11:07 +08:00
2026-09-05 13:13:56 +08:00
2026-09-21 16:09:50 +08:00
2026-08-06 14:33:59 +08:00
2026-07-25 08:39:59 +08:00
2026-08-14 18:02:59 +08:00
2026-07-28 00:20:02 +08:00
2026-08-18 10:00:53 +08:00
2026-09-18 14:10:06 +08:00
2026-09-18 14:10:06 +08:00
2026-09-12 13:10:52 +08:00
2026-09-05 13:13:56 +08:00
2026-07-16 17:51:21 +08:00
2026-07-16 17:51:21 +08:00
2026-09-18 14:10:33 +08:00
2026-09-18 14:10:33 +08:00
2026-07-29 03:33:00 +08:00
2026-08-23 00:52:39 +08:00
2026-09-13 15:31:53 +08:00
2026-08-12 17:50:10 +08:00
2026-08-12 17:50:10 +08:00
2026-08-10 17:16:21 +08:00
2026-08-29 14:39:21 +08:00
2026-09-18 15:19:34 +08:00
2026-09-12 17:07:35 +08:00
2026-07-29 13:51:38 +08:00
2026-07-29 13:51:38 +08:00