Thanks for your feedback, Element. Any application that wants to extend the default shell commands must create a fluid_shell from its own fluid_cmd_handler, afaik. Even this is a use case which I consider to be extremely rare. Although there recently was an attempt of adding fluidsynth's shell to QSynth, this seem to have failed because it's impossible to know which UI controls would need to be updated as the application cannot know about the semantics of the entered command. Thinking about adding custom shell commands seems even more exceptional.
But ofc downstream may convince me from the opposite, in which case I would probably hide fluid_cmd_t behind an opaque pointer. Tom _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev