Patch-Source: https://github.com/hrkfdn/ncspot/pull/1127 -- From b6b9305aa89c6f2c3307020fd0c3f882746fb535 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 23 Apr 2023 21:55:42 +0200 Subject: [PATCH] Add ncurses_backend feature flag to enable cursive/ncurses-backend Similar to existing crossterm_backend and pancurses_backend. --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 6f15dea9..979ee3d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -722,6 +722,7 @@ dependencies = [ "libc", "log", "maplit", + "ncurses", "pancurses", "signal-hook", "term_size", diff --git a/Cargo.toml b/Cargo.toml index ef4aaf14..dd5963dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,6 +80,7 @@ alsa_backend = ["librespot-playback/alsa-backend"] cover = ["ioctl-rs"] # Support displaying the album cover default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "termion_backend"] mpris = ["zbus"] # Allow ncspot to be controlled via MPRIS API +ncurses_backend = ["cursive/ncurses-backend"] notify = ["notify-rust"] # Show what's playing via a notification pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"] portaudio_backend = ["librespot-playback/portaudio-backend"]