Action::List

pull/6/head
dvkt 4 years ago
parent e986f34fc7
commit 19b549603c

@ -9,6 +9,7 @@ pub enum Action {
Draw(String), // draw something on screen
Status(String), // set the "status" line to something
Prompt(String, Box<dyn FnOnce(String) -> Action>), // query string, callback on success
List(Vec<Action>), // do more than one action
Error(String), // error message
}

Loading…
Cancel
Save