cli: interactive mode

This commit is contained in:
raf 2024-12-15 21:28:35 +03:00
commit 783f6d657b
Signed by: NotAShelf
GPG key ID: AF26552424E53993
2 changed files with 150 additions and 7 deletions

View file

@ -146,7 +146,8 @@ impl MpvCommand {
///
/// # Returns
/// A string slice representing the command.
#[must_use] pub const fn as_str(&self) -> &str {
#[must_use]
pub const fn as_str(&self) -> &str {
match self {
Self::SetProperty => "set_property",
Self::PlaylistNext => "playlist-next",