mirror of https://github.com/xvxx/phetch
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
230 B
Rust
11 lines
230 B
Rust
5 years ago
|
use ui::Key;
|
||
|
|
||
|
#[derive(Debug)]
|
||
|
pub enum Action {
|
||
|
None, // do nothing
|
||
|
Open(String), // open url
|
||
|
Keypress(Key), // unknown keypress
|
||
|
Redraw, // redraw everything
|
||
|
Error(String), // error message
|
||
|
}
|