]> git.tuebingen.mpg.de Git - paraslash.git/commit
com_select(): Support '-' to reactivate the previous mood/playlist.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 25 Nov 2024 20:55:43 +0000 (21:55 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 19 Apr 2025 14:16:48 +0000 (16:16 +0200)
commit4f4ad5e5ec04deda44d6d7953842d4bfa4969a12
treeb6c5f23a6b2d1cf6930664a33c04d9f463113eba
parent14c320a7a52e670913f8302c7acc49833611cb5a
com_select(): Support '-' to reactivate the previous mood/playlist.

This adds two static global variables to afs.c which track the
previously active mood or playlist. The select subcommand now makes
use of this information if the argument is the special string '-'. The
subcommand then follows common Unix conventions and reactivates the
previous mood or playlist.
afs.c
m4/lls/server_cmd.suite.m4