Add VTX hyperlink support for URLs

This commit is contained in:
Bryan Ashby 2017-09-21 21:23:30 -06:00
parent 7837a2a7bd
commit b0260049ba
5 changed files with 26 additions and 5 deletions

View file

@ -493,10 +493,15 @@ Client.prototype.defaultHandlerMissingMod = function(err) {
};
Client.prototype.terminalSupports = function(query) {
const termClient = this.term.termClient;
switch(query) {
case 'vtx_audio' :
// https://github.com/codewar65/VTX_ClientServer/blob/master/vtx.txt
return this.termClient === 'vtx';
return 'vtx' === termClient;
case 'vtx_hyperlink' :
return termClient === 'vtx';
default :
return false;