omni-dev 0.41.0

AI-powered git commit rewriter, PR generator, and MCP server for Jira, Confluence, Datadog, Gmail, and Drive.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Small terminal helpers shared by the raw-mode secret prompts in
//! `cli::ai::chat`, `cli::gmail::auth`, and `cli::drive::auth`.

use crossterm::terminal::disable_raw_mode;

/// Guard that disables raw mode on drop.
pub struct RawModeGuard;

impl Drop for RawModeGuard {
    fn drop(&mut self) {
        let _ = disable_raw_mode();
    }
}