mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-15 23:43:49 +00:00
cli: interactive mode
This commit is contained in:
parent
dfb0bb5bea
commit
783f6d657b
2 changed files with 150 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue