1 2 3 4 5 6 7 8 9
pub struct InsertMode { pub input: Option<char>, } impl InsertMode { pub fn new() -> InsertMode { InsertMode { input: None } } }