aKode fase 2b-1: rimossi plugin remoti e share, bundle download, UI usage/crediti/banner/workspace ChatGPT; fix argomenti MCP (inviati vuoti dopo e4209e2) e overlay TUI; test analytics-upload rimossi; test sicurezza MCP adattati
Some checks failed
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -44,7 +44,6 @@ use scrolling::render_offset_content;
|
||||
pub(crate) enum Overlay {
|
||||
Transcript(TranscriptOverlay),
|
||||
Static(StaticOverlay),
|
||||
Analytics(Box<crate::analytics::AnalyticsView>),
|
||||
}
|
||||
|
||||
impl Overlay {
|
||||
@@ -86,14 +85,13 @@ impl Overlay {
|
||||
|
||||
pub(crate) fn handle_event(&mut self, tui: &mut tui::Tui, event: TuiEvent) -> Result<()> {
|
||||
let mouse_capture = match self {
|
||||
Overlay::Transcript(_) | Overlay::Analytics(_) => tui::MouseCapture::Enabled,
|
||||
Overlay::Transcript(_) => tui::MouseCapture::Enabled,
|
||||
Overlay::Static(_) => tui::MouseCapture::Disabled,
|
||||
};
|
||||
tui.set_mouse_capture(mouse_capture)?;
|
||||
let result = match self {
|
||||
Overlay::Transcript(o) => o.handle_event(tui, event).map(drop),
|
||||
Overlay::Static(o) => o.handle_event(tui, event),
|
||||
Overlay::Analytics(o) => o.handle_event(tui, event),
|
||||
};
|
||||
if result.is_err() || self.is_done() {
|
||||
let restore = tui.set_mouse_capture(tui::MouseCapture::Inherit);
|
||||
@@ -106,7 +104,6 @@ impl Overlay {
|
||||
match self {
|
||||
Overlay::Transcript(o) => o.is_done(),
|
||||
Overlay::Static(o) => o.is_done(),
|
||||
Overlay::Analytics(o) => o.is_done,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user