Skip to content

Commit

Permalink
Switch to Crossterm backend by default
Browse files Browse the repository at this point in the history
- Is capable of 256 colors
- Can handle Shift+Up/Shift+Down/etc. (#1283)
  • Loading branch information
hrkfdn committed Sep 29, 2023
1 parent fe8f8e7 commit f772bb8
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
os: ubuntu-latest
container: ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main
target: aarch64-unknown-linux-gnu
features: '--no-default-features --features alsa_backend,cursive/termion-backend'
features: '--no-default-features --features alsa_backend,cursive/crossterm-backend'
dependencies: 'libasound2-dev:arm64 libssl-dev:arm64'
cross_arch: 'arm64'
pkg_config_path: '/usr/lib/aarch64-linux-gnu/pkgconfig/'
- build_target: linux-armhf
os: ubuntu-latest
container: ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:main
target: armv7-unknown-linux-gnueabihf
features: '--no-default-features --features alsa_backend,cursive/termion-backend'
features: '--no-default-features --features alsa_backend,cursive/crossterm-backend'
dependencies: 'libasound2-dev:armhf libssl-dev:armhf'
cross_arch: 'armhf'
pkg_config_path: '/usr/lib/arm-linux-gnueabihf/pkgconfig/'
Expand Down
38 changes: 38 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ optional = true
[features]
alsa_backend = ["librespot-playback/alsa-backend"]
cover = ["ioctl-rs"] # Support displaying the album cover
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "termion_backend"]
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "crossterm_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
crossterm_backend = ["cursive/crossterm-backend"]
pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"]
portaudio_backend = ["librespot-playback/portaudio-backend"]
pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
Expand Down

0 comments on commit f772bb8

Please sign in to comment.