mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +00:00
refactor(stdin): disable preview by default and enable when passing --preview
(#394)
This commit is contained in:
parent
60ea4a7e15
commit
ee89b36b42
@ -183,12 +183,12 @@ impl Display for PreviewCommand {
|
||||
#[derive(Debug, Clone, Eq, PartialEq, Hash, Default, EnumString)]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum PreviewType {
|
||||
#[default]
|
||||
Basic,
|
||||
EnvVar,
|
||||
Files,
|
||||
#[strum(disabled)]
|
||||
Command(PreviewCommand),
|
||||
#[default]
|
||||
None,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user