Files
llmx/codex-rs/tui/src
Jeremy Rose 4b0f5eb6a8 tui: wrapping bugfix (#4674)
this fixes an issue where text lines with long words would sometimes
overflow.

- the default penalties for the OptimalFit algorithm allow overflowing
in some cases. this seems insane to me, and i considered just banning
the OptimalFit algorithm by disabling the 'smawk' feature on textwrap,
but decided to keep it and just bump the overflow penalty to ~infinity
since optimal fit does sometimes produce nicer wrappings. it's not clear
this is worth it, though, and maybe we should just dump the optimal fit
algorithm completely.
- user history messages weren't rendering with the same wrap algorithm
as used in the composer, which sometimes resulted in wrapping messages
differently in the history vs. in the composer.
2025-10-07 11:32:13 -07:00
..
2025-09-30 10:10:33 +00:00
2025-10-02 10:27:10 -07:00
2025-10-07 08:07:31 -07:00
2025-09-15 00:42:53 -07:00
2025-10-07 11:32:13 -07:00
2025-10-02 18:34:47 +00:00
2025-08-05 04:23:22 +00:00
2025-10-02 18:34:47 +00:00
2025-09-15 06:44:40 -07:00
2025-10-03 22:43:41 +00:00
2025-09-30 00:10:04 +00:00
2025-10-07 11:32:13 -07:00