From ee89b36b420e2ddc3776afea8658f4930938ebc8 Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Mon, 17 Mar 2025 21:34:32 +0100 Subject: [PATCH] refactor(stdin): disable preview by default and enable when passing `--preview` (#394) --- television/channels/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/television/channels/entry.rs b/television/channels/entry.rs index 24a0175..2376bb6 100644 --- a/television/channels/entry.rs +++ b/television/channels/entry.rs @@ -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, }