eazygit 0.5.1

A fast TUI for Git with staging, conflicts, rebase, and palette-first UX
Documentation
#![allow(unused_imports)]
pub mod keybinds;

use crossterm::event::{Event as CrosstermEvent, KeyEvent};

pub use keybinds::{Keybind, KeybindRegistry, KeyContext};

/// Unified input event type that normalizes all input sources
#[derive(Debug, Clone)]
pub enum InputEvent {
    Key(KeyEvent),
    Tick,
}

impl From<CrosstermEvent> for InputEvent {
    fn from(event: CrosstermEvent) -> Self {
        match event {
            CrosstermEvent::Key(key) => InputEvent::Key(key),
            _ => InputEvent::Tick, // Other events treated as tick
        }
    }
}