This was found because the mode command stopped working. It broke because the config structure was passed in by copy instead of reference. I changed the API to be pointers and then tested it and it seems to work now.
I would normally just merge this small fix but because it's an API change would like review from @AbGuthrie
This should also fix any other bugs we may have with modifying config state. I don't know if there are any other ones currently but this will also let us write commands that enable or disable debug mode
This was found because the
mode
command stopped working. It broke because the config structure was passed in by copy instead of reference. I changed the API to be pointers and then tested it and it seems to work now.I would normally just merge this small fix but because it's an API change would like review from @AbGuthrie