- Introduce `message_border_style` to render message borders with a dimmed version of the role color. - Add `dim_color` and `color_to_rgb` helpers for color manipulation. - Update role styling to use `theme.mode_command` for system messages. - Adjust card rendering functions to accept role and apply the new border style.
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.