mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 19:20:41 +02:00
Add VTX hyperlink support for URLs
This commit is contained in:
parent
7837a2a7bd
commit
b0260049ba
5 changed files with 26 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue