Experimental terminalSupports(x)

This commit is contained in:
Bryan Ashby 2017-09-02 16:23:34 -06:00
parent f0d6eb5847
commit 8d5f1a8c5d
1 changed files with 10 additions and 0 deletions

View File

@ -492,3 +492,13 @@ Client.prototype.defaultHandlerMissingMod = function(err) {
return handler;
};
Client.prototype.terminalSupports = function(query) {
switch(query) {
case 'vtx_audio' :
// https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt
return this.termClient === 'vtx';
default :
return false;
}
};