Support help command

This commit is contained in:
Jorge Manrubia
2025-07-02 21:55:13 +02:00
parent b0e35bcd54
commit 8330bb25fc
@@ -91,7 +91,8 @@ export default class extends Controller {
}
get #showHelpCommandEntered() {
return [ "/help", "/?" ].includes(this.inputTarget.value)
console.debug("CALLED?", this.inputTarget.value);
return [ "/help", "/?" ].find(command => this.inputTarget.value.includes(command))
}
get #isHelpMenuOpened() {