Skip to main content

tui/view/
reports.rs

1//! Inherent intent handling for `ReportsTab`.
2//!
3//! Drawing stays on the inherent `draw(frame, area)` in `tabs::reports`; the
4//! reports tab consumes no intents (it is driven via the command palette), so
5//! `handle` always ignores.
6
7use crate::event::Intent;
8use crate::tabs::reports::ReportsTab;
9use crate::view::{DrawCtx, Handled};
10
11impl ReportsTab {
12    pub fn handle(&mut self, _intent: Intent, _ctx: &DrawCtx) -> Handled {
13        Handled::Ignored
14    }
15}