From 8d5f1a8c5d70c014f62a32847be5b0f190b95aa7 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 2 Sep 2017 16:23:34 -0600 Subject: [PATCH] Experimental terminalSupports(x) --- core/client.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/client.js b/core/client.js index a9b3d555..4501396d 100644 --- a/core/client.js +++ b/core/client.js @@ -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; + } +};