Enum skim::ItemPreview
source · pub enum ItemPreview {
Command(String),
Text(String),
AnsiText(String),
CommandWithPos(String, PreviewPosition),
TextWithPos(String, PreviewPosition),
AnsiWithPos(String, PreviewPosition),
Global,
}
Variants§
Command(String)
execute the command and print the command’s output
Text(String)
Display the prepared text(lines)
AnsiText(String)
Display the colored text(lines)
CommandWithPos(String, PreviewPosition)
TextWithPos(String, PreviewPosition)
AnsiWithPos(String, PreviewPosition)
Global
Use global command settings to preview the item