blob: d47c3e59f42f3f4a0a7a97e1814df80bb50fa09d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use tuikit::event::Event;
/// Internal and terminal events.
/// Most of events are sent from the terminal emulator.
/// Here we wrap them with a few internal variants.
/// It allows us to capture all events at the same place and force some actions internally.
pub enum FmEvents {
/// A refresh is required
Refresh,
/// User has saved its filenames and we can rename/create them
BulkExecute,
/// Event from the terminal itself (restart, resize, key, mouse etc.)
Event(Event),
}
|