- Add comprehensive Config system with TOML support (~/.miyabi/config.toml) - Add Agent module for autonomous task execution with tool approval - Add Session management for conversation persistence - Extend CLI with new commands: init, sessions, agent, version - Add CLI flags: --model, --max-tokens, --thinking, --config, --session - Fix all clippy warnings (16 → 0) - Improve code quality with collapsible pattern matching 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
411 B
Rust
14 lines
411 B
Rust
//! Diff viewer widget placeholder.
|
|
//!
|
|
//! This will eventually wrap `diff_render.rs` for reuse across overlays.
|
|
|
|
use ratatui::layout::Rect;
|
|
use ratatui::Frame;
|
|
|
|
use crate::diff_render::FileDiff;
|
|
|
|
/// Render a diff within the given area.
|
|
pub fn render_diff_widget(frame: &mut Frame, area: Rect, diff: &FileDiff) {
|
|
let _ = (frame, area, diff);
|
|
// TODO: integrate syntax highlighting and line numbers.
|
|
}
|