1 #[derive(Clone, Debug, PartialEq)]
2 pub(crate) enum State {
3 	ConfirmAbort,
4 	ConfirmRebase,
5 	Edit,
6 	Error { return_state: Box<State>, message: String },
7 	Exiting,
8 	ExternalEditor,
9 	Help(Box<State>),
10 	List(bool), // TODO refactor help to not require visual mode boolean
11 	ShowCommit,
12 	WindowSizeError(Box<State>),
13 }
14