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.
xplr/src/msg/out/mod.rs

38 lines
777 B
Rust

use serde::{Deserialize, Serialize};
use crate::app::{Command, Task};
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
pub enum MsgOut {
ExplorePwdAsync,
ExploreParentsAsync,
Refresh,
ClearScreen,
Debug(String),
Call(Command),
Call0(Command),
CallSilently(Command),
CallSilently0(Command),
CallLua(String),
CallLuaSilently(String),
LuaEval(String),
LuaEvalSilently(String),
Enque(Task),
EnableMouse,
DisableMouse,
ToggleMouse,
StartFifo(String),
StopFifo,
ToggleFifo(String),
ScrollUp,
ScrollDown,
ScrollUpHalf,
ScrollDownHalf,
Quit,
PrintPwdAndQuit,
PrintFocusPathAndQuit,
PrintSelectionAndQuit,
PrintResultAndQuit,
PrintAppStateAndQuit,
}