Added settings menu, datetime on each line, text focus to end on history browsing, ..

This commit is contained in:
Carlos
2020-02-03 00:41:00 +01:00
parent 14844dd95d
commit 5c833246d8
5 changed files with 131 additions and 1 deletions

View File

@ -150,6 +150,10 @@ function writeToWebConsole(msg){
msg = msg.replace(/§o/g, "<span style='font-style: italic;'>"); //&o
msg = msg.replace(/§r/g, "</span>"); //&r
//Append datetime if enabled
if(persistenceManager.getSetting("dateTimePrefix"))
msg = "[" + new Date().toLocaleString() + "] " + msg;
$("#consoleTextArea").append(msg + "<br>");