diff options
-rw-r--r-- | yt/src/watch/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/src/watch/mod.rs b/yt/src/watch/mod.rs index 6e7c372..9b2cbef 100644 --- a/yt/src/watch/mod.rs +++ b/yt/src/watch/mod.rs @@ -42,6 +42,10 @@ pub async fn watch(app: &App) -> Result<()> { // Don't automatically advance to the next video (or exit the player) mpv.set_option("keep-open", "always")?; + + // Always display an window, even for non-video playback. + // As mpv does not have cli access, no window means no control and no user feedback. + mpv.set_option("force-window", "yes")?; Ok(()) })?; |