lmcli/pkg
Matt Low 676aa7b004 Refactor TUI rendering handling and general cleanup
Improves render handling by moving the responsibility of laying out the
whole UI from each view and into the main `tui` model. Our `ViewModel`
interface has now diverged from bubbletea's `Model` and introduces
individual `Header`, `Content`, and `Footer` methods for rendering those
UI elements.

Also moved away from using value receivers on our Update and View
functions (as is common across Bubbletea) to pointer receivers, which
cleaned up some of the weirder aspects of the code (e.g. before we
essentially had no choice but to do our rendering in `Update` in order
to calculate and update the final height of the main content's
`viewport`).
2024-09-23 02:49:08 +00:00
..
agents Add modify_file tool 2024-07-01 08:09:04 +00:00
api Allow custom headers on OpenAI providers (to be added to more later) 2024-08-12 17:14:53 +00:00
cmd TUI view management and input handling cleanup 2024-09-16 16:18:18 +00:00
lmcli Fix LatestConversationMessages preload 2024-09-16 00:37:42 +00:00
tui Refactor TUI rendering handling and general cleanup 2024-09-23 02:49:08 +00:00
util TUI refactor 2024-09-16 00:48:45 +00:00