From c3fd4d9f57f062217b0240076df5a18471912b01ac1af3b37b6bc8e75596d9d7 Mon Sep 17 00:00:00 2001 From: reclusejay Date: Thu, 23 Oct 2025 00:59:00 +0100 Subject: [PATCH] Added config option to disable usage print to log console --- src/js/shell.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/js/shell.js b/src/js/shell.js index 5e3ac8f..a4addae 100644 --- a/src/js/shell.js +++ b/src/js/shell.js @@ -79,12 +79,13 @@ e.preventDefault(); } }); - - console.log('[shell.js] Shell initialized.'); - console.log('💡 Usage'); - console.log('Shortcut Action'); - console.log('↑ / ↓ Browse previous commands'); - console.log('Ctrl + L Clear the screen'); - console.log('Enter Execute command'); + if (CONFIG.shell_print_howto_to_logconsole){ + console.log('[shell.js] Shell initialized.'); + console.log('💡 Usage'); + console.log('Shortcut Action'); + console.log('↑ / ↓ Browse previous commands'); + console.log('Ctrl + L Clear the screen'); + console.log('Enter Execute command'); + } }); })();