Tom Boucher
e0adba7e08
feat(statusline): add opt-in context_position config for narrow terminals ( #2937 )
...
Extract composeStatusline() helper from duplicated inline template logic in
runStatusline() and renderStatusline(). Both call sites now route through the
helper, which accepts a position param ('end' | 'front', default 'end').
- 'end' (default) preserves byte-identical output to v1.38.x and earlier
- 'front' renders ctx immediately after model name, before the first │
- Invalid values silently coerce to 'end' at runtime (belt-and-suspenders;
config-set rejects invalid values upfront via enum validator)
Adds statusline.context_position to VALID_CONFIG_KEYS in both CJS and TS
schemas, enum validator in config.cjs, docs row in CONFIGURATION.md,
and a changeset. Closes #2937 .
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-14 15:45:41 -04:00
..
2026-05-06 21:51:38 -04:00
2026-05-14 15:45:41 -04:00
2026-04-25 14:08:05 -06:00
2026-03-26 20:27:51 -06:00
2026-03-26 20:27:51 -06:00
2026-05-02 11:45:33 -04:00
2026-05-03 15:57:01 -04:00
2026-05-06 20:52:43 -04:00
2026-05-09 23:29:11 -04:00
2026-04-03 14:07:04 -04:00
2026-04-12 08:33:04 -04:00
2026-04-03 14:07:04 -04:00
2026-04-03 14:07:04 -04:00
2026-05-03 18:56:41 -04:00
2026-04-12 08:33:04 -04:00
2026-03-26 20:27:51 -06:00
2026-04-17 19:53:16 -05:00
2026-05-04 21:49:41 -04:00
2026-05-04 21:49:41 -04:00
2026-05-05 20:22:03 -04:00
2026-05-05 19:59:56 -04:00
2026-05-03 08:20:05 -04:00
2026-05-03 16:31:48 -04:00
2026-05-05 19:31:03 -04:00
2026-05-05 19:59:56 -04:00
2026-05-05 19:36:47 -04:00
2026-05-03 18:11:38 -04:00
2026-04-25 14:08:05 -06:00
2026-05-08 09:06:43 -04:00
2026-03-31 15:59:31 +03:00
2026-03-26 20:27:51 -06:00
2026-03-26 20:27:51 -06:00
2026-04-12 08:33:04 -04:00
2026-05-08 21:25:37 -04:00
2026-04-25 14:08:05 -06:00
2026-05-08 09:06:43 -04:00
2026-04-18 12:35:23 -04:00
2026-03-31 15:59:31 +03:00
2026-05-10 11:19:50 -04:00
2026-05-10 11:19:50 -04:00
2026-05-08 08:40:30 -04:00
2026-05-08 08:40:30 -04:00
2026-04-30 09:03:06 -06:00
2026-04-30 09:03:06 -06:00
2026-04-30 09:03:06 -06:00
2026-04-30 09:03:06 -06:00
2026-04-25 17:56:06 -06:00
2026-04-25 17:56:06 -06:00
2026-04-04 07:24:31 -04:00
2026-04-25 14:08:05 -06:00
2026-05-03 18:56:41 -04:00
2026-05-05 19:23:39 -04:00
2026-05-05 19:26:01 -04:00
2026-05-04 21:49:39 -04:00
2026-05-04 21:49:39 -04:00
2026-05-08 09:06:43 -04:00
2026-05-05 19:26:01 -04:00
2026-05-03 18:56:41 -04:00
2026-05-04 21:49:39 -04:00
2026-05-04 21:49:40 -04:00
2026-05-04 21:49:38 -04:00
2026-05-04 21:49:40 -04:00
2026-05-04 21:49:41 -04:00
2026-05-04 21:49:41 -04:00
2026-05-05 20:29:43 -04:00
2026-05-05 20:29:43 -04:00
2026-05-05 19:31:03 -04:00
2026-05-04 21:49:41 -04:00
2026-05-04 21:49:41 -04:00
2026-05-04 21:49:40 -04:00
2026-05-04 21:49:40 -04:00
2026-04-03 14:19:34 -04:00
2026-04-03 14:19:34 -04:00
2026-05-05 19:36:47 -04:00
2026-04-29 08:03:32 -04:00
2026-04-29 08:03:32 -04:00
2026-05-11 21:12:29 -04:00
2026-05-11 21:12:29 -04:00
2026-04-29 08:03:32 -04:00
2026-05-09 00:15:04 -04:00
2026-03-26 20:27:51 -06:00
2026-04-12 08:33:04 -04:00
2026-05-09 00:25:05 -04:00
2026-04-23 12:40:56 -04:00
2026-05-09 00:15:04 -04:00
2026-05-09 00:15:04 -04:00
2026-04-11 09:33:34 -04:00
2026-03-26 20:27:51 -06:00
2026-03-26 20:27:51 -06:00