cli-prompts 0.1.1

Interactive prompts for the command line
Documentation
//! Module for handling input

/// Represents different keyboard keys
#[derive(Debug, PartialEq, Eq)]
pub enum Key {
    /// Backspace key
    Backspace,

    /// Enter (Return) key
    Enter,

    /// Left arrow key
    Left,

    /// Right arrow key
    Right,

    /// Up arrow key
    Up,

    /// Down arrow key
    Down,

    /// Home key
    Home,
    
    /// End key
    End,

    /// Page Up key
    PageUp,

    /// Page Down key
    PageDown,

    /// Tab key
    Tab,

    /// Shift+Tab key
    BackTab,

    /// Delete key
    Delete,

    /// Insert key
    Insert,

    /// Function keys from F1 to F12
    F(u8),

    /// All the character keys
    Char(char),

    /// A character key pressed with Ctrl
    Ctrl(char),

    /// Esc key
    Esc,
}