rodricksz4h5
f50c6f43a2
fix(cli): let the early interface probe follow the profile's home
...
`_suppress_mouse_residue_early()` runs at import time, before
`_apply_profile_override()` sets HERMES_HOME, so the first read of
`display.interface` always saw the default home. The result was memoised
in a cache keyed on nothing, so every later caller — the Termux fast
paths and the TUI launch decision, which all run after the profile is
applied — was pinned to the default home's interface for the whole run.
`hermes -p coder` with `display.interface: tui` in that profile booted
the classic REPL, and the mirror case booted the TUI for a profile that
asked for cli.
Key the cache on the config path it read. The hot path still parses the
YAML once per home, and the first call after the process is re-homed
re-reads the file it should have read.
Fixes #116902
2026-09-20 18:26:14 -07:00
..
2026-09-20 13:21:24 -07:00
2026-09-20 10:06:50 -07:00
2026-09-19 12:11:59 -07:00
2026-09-19 10:29:37 -07:00
2026-09-20 10:18:48 -07:00
2026-09-20 18:20:44 -07:00
2026-09-20 15:56:33 -07:00
2026-09-20 13:35:09 -07:00
2026-09-20 16:23:22 -07:00
2026-09-20 09:20:51 -07:00
2026-09-20 11:48:28 -07:00
2026-09-20 12:44:48 -07:00
2026-09-20 00:08:36 -07:00
2026-09-20 16:33:49 -07:00
2026-09-20 15:17:49 +05:30
2026-09-20 11:19:50 -07:00
2026-09-20 10:49:13 -07:00
2026-09-20 11:12:12 -07:00
2026-09-20 18:26:14 -07:00
2026-09-20 16:41:21 +05:30
2026-09-20 11:52:04 -07:00
2026-09-20 10:05:53 -07:00
2026-09-20 15:57:25 -07:00
2026-09-20 12:15:07 -07:00
2026-09-20 00:19:04 +05:30
2026-09-19 12:30:32 -07:00
2026-09-20 11:52:45 -07:00
2026-09-20 16:32:50 -07:00
2026-09-20 10:39:01 -07:00
2026-09-20 16:28:59 +05:30
2026-09-20 12:47:14 -07:00
2026-09-20 14:23:15 -07:00
2026-09-20 10:50:27 -07:00
2026-09-20 12:03:06 -07:00
2026-09-20 10:05:53 -07:00
2026-09-20 10:19:25 -07:00
2026-09-20 11:28:15 -07:00
2026-09-20 15:55:14 -07:00
2026-09-20 16:33:49 -07:00
2026-09-20 10:24:53 -07:00
2026-09-20 15:53:55 -07:00
2026-09-20 10:13:26 -07:00
2026-09-20 10:08:02 -07:00
2026-09-20 10:41:25 -07:00
2026-09-20 12:47:14 -07:00
2026-09-20 15:17:14 +05:30
2026-09-20 11:14:00 -07:00
2026-09-20 11:50:48 -07:00
2026-09-20 15:29:34 -07:00
2026-09-20 14:23:15 -07:00
2026-09-20 15:53:25 -07:00
2026-09-20 00:22:24 -07:00
2026-09-19 23:46:42 -07:00
2026-09-20 12:50:53 -07:00
2026-09-20 12:40:36 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 11:14:00 -07:00
2026-09-20 16:22:25 -07:00
2026-09-20 14:02:17 +05:30
2026-09-19 20:55:20 -07:00
2026-09-20 10:16:51 -07:00
2026-09-20 10:02:22 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 15:56:55 -07:00
2026-09-19 11:58:06 -07:00
2026-09-20 10:44:52 -07:00
2026-09-19 20:54:06 -07:00
2026-09-19 21:11:30 -07:00
2026-09-20 11:49:00 -07:00
2026-09-20 11:52:45 -07:00
2026-09-20 12:44:48 -07:00
2026-09-20 15:21:14 -07:00
2026-09-20 15:27:46 -07:00
2026-09-20 20:29:14 +05:30
2026-09-20 13:55:03 -07:00
2026-09-20 10:29:54 -07:00
2026-09-19 20:45:06 -07:00
2026-09-20 10:14:01 -07:00
2026-09-20 10:01:58 -07:00
2026-09-20 10:06:29 -07:00
2026-09-20 12:51:30 -07:00
2026-09-20 11:55:07 -07:00
2026-09-19 23:42:20 -07:00
2026-09-20 13:22:30 -07:00
2026-09-20 14:02:17 +05:30
2026-09-20 18:16:47 +05:30
2026-09-20 00:22:24 -07:00
2026-09-20 00:11:37 -07:00
2026-09-20 10:08:37 -07:00
2026-09-20 12:17:52 +05:30
2026-09-20 15:16:35 +05:30
2026-09-20 16:23:22 -07:00
2026-09-20 18:25:48 -07:00
2026-09-20 11:30:36 -07:00
2026-09-20 15:16:06 +05:30
2026-09-19 23:46:08 -07:00
2026-09-20 12:44:48 -07:00
2026-09-20 00:13:01 -07:00
2026-09-20 15:23:04 -07:00
2026-09-19 23:52:01 -07:00
2026-09-20 09:52:06 -07:00
2026-09-20 00:03:06 -07:00
2026-09-19 23:52:01 -07:00
2026-09-20 10:29:35 -07:00
2026-09-19 23:52:01 -07:00
2026-09-19 10:31:14 -07:00
2026-09-20 10:21:52 -07:00
2026-09-20 12:45:24 -07:00
2026-09-19 10:56:19 -07:00
2026-09-20 09:20:51 -07:00
2026-09-20 11:54:02 -07:00
2026-09-20 15:15:36 +05:30
2026-09-20 12:39:58 -07:00
2026-09-20 16:41:21 +05:30
2026-09-20 10:40:12 -07:00