陈大猫 and Claude Opus 4.7
8fd7ff6475
fix #1078 : send macOS Option as Meta (wire altAsMeta to xterm macOptionIsMeta) ( #1080 )
...
"Use Option as Meta key" was read into `altIsMeta` but only applied to the
mouse alt-click options (`altClickMovesCursor`). xterm.js's `macOptionIsMeta`
— the option that actually makes Option emit ESC-prefixed (Meta) sequences —
was never set, so on macOS Option kept producing layout characters (ƒ, ∫, …)
and readline/zle word shortcuts (Alt+f, Alt+b, Alt+Backspace) were dead.
Extract the altAsMeta→xterm mapping into one tested helper used by both the
terminal init path (createXTermRuntime) and the live settings sync
(Terminal.tsx) so the two can't drift again.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 23:30:35 +08:00
..
2026-05-21 00:11:51 +08:00
2026-05-18 20:00:10 +08:00
2026-05-12 20:14:24 +08:00
2026-05-06 17:42:28 +08:00
2026-05-18 20:00:10 +08:00
2026-05-18 20:00:10 +08:00
2026-05-21 00:11:51 +08:00
2026-05-22 22:58:19 +08:00
2026-04-16 22:43:19 +08:00
2026-05-24 23:30:35 +08:00
2026-05-18 20:00:10 +08:00
2026-01-29 00:07:14 +08:00
2026-04-22 01:19:33 +08:00
2026-05-21 00:11:51 +08:00
2026-04-21 22:16:49 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-04-12 17:11:50 +08:00
2026-04-10 14:02:24 +08:00
2026-05-18 20:00:10 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-05-07 12:57:54 +08:00
2026-05-07 12:57:54 +08:00
2026-04-05 14:39:39 +08:00
2026-05-12 20:14:24 +08:00
2026-05-13 11:41:36 +08:00
2026-05-12 20:14:24 +08:00
2026-05-07 17:38:17 +08:00
2026-05-11 17:22:12 +08:00
2025-12-17 12:06:28 +08:00
2026-05-06 17:33:46 +08:00
2026-05-06 17:33:46 +08:00
2026-05-06 17:42:28 +08:00
2026-04-21 22:36:52 +08:00
2026-03-23 23:13:58 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-05-06 15:20:23 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-04-22 01:16:38 +08:00
2026-05-18 20:00:10 +08:00
2026-05-09 17:47:45 +08:00
2026-05-18 11:31:50 +08:00
2026-05-18 11:31:50 +08:00
2026-05-18 11:31:50 +08:00
2026-05-12 20:14:24 +08:00
2026-05-12 20:14:24 +08:00
2026-05-24 23:30:35 +08:00
2026-05-20 16:30:25 +08:00
2026-05-22 22:49:15 +08:00
2026-05-20 16:30:25 +08:00
2026-05-18 22:19:54 +08:00
2026-05-18 22:19:54 +08:00
2026-05-18 22:19:54 +08:00
2026-05-18 22:19:54 +08:00
2026-05-01 16:31:58 +08:00
2026-05-18 20:00:10 +08:00
2026-05-18 20:00:10 +08:00
2026-04-08 16:42:32 +08:00
2026-05-22 22:58:19 +08:00
2026-05-18 20:00:10 +08:00
2026-05-12 20:14:24 +08:00
2026-05-06 15:20:23 +08:00
2026-05-20 10:53:20 +08:00
2026-05-20 10:53:20 +08:00