- Render the app title with version as the block title instead of a separate header widget. - Compute `content_area` via `main_block.inner` and use it for file panel, main area, model info panel, and toast rendering. - Remove header constraints and the `render_header` function, simplifying the layout. - Add early exit when `content_area` has zero width or height to avoid rendering errors.
Owlen TUI
This crate contains all the logic for the terminal user interface (TUI) of Owlen.
It is built using the excellent ratatui library and is responsible for rendering the chat interface, handling user input, and managing the application state.
Features
- Chat View: A scrollable view of the conversation history.
- Input Box: A text input area for composing messages.
- Model Selection: An interface for switching between different models.
- Event Handling: A system for managing keyboard events and asynchronous operations.