Added config option to disable usage print to log console

This commit is contained in:
2025-10-23 00:59:00 +01:00
parent 0ce0b2b842
commit c3fd4d9f57

View File

@@ -79,12 +79,13 @@
e.preventDefault(); e.preventDefault();
} }
}); });
if (CONFIG.shell_print_howto_to_logconsole){
console.log('[shell.js] Shell initialized.'); console.log('[shell.js] Shell initialized.');
console.log('💡 Usage'); console.log('💡 Usage');
console.log('Shortcut Action'); console.log('Shortcut Action');
console.log('↑ / ↓ Browse previous commands'); console.log('↑ / ↓ Browse previous commands');
console.log('Ctrl + L Clear the screen'); console.log('Ctrl + L Clear the screen');
console.log('Enter Execute command'); console.log('Enter Execute command');
}
}); });
})(); })();