...
 
Commits (2)
......@@ -98,7 +98,7 @@ window.webmu = (function() {
function trigger_notification(pose) {
if (document.hidden) {
var n = {
body: ansi_up.ansi_to_text(pose.substr(0, 80)).trim()
body: ansi_up.ansi_to_text(pose.trim())
};
new Notification("MUSH Activity", n);
......@@ -124,8 +124,8 @@ window.webmu = (function() {
dirtyHistory = inputbox.value;
}
if (historyPos > 0) {
inputbox.value = history[historyPos - 1];
historyPos--;
inputbox.value = history[historyPos];
}
break;
case "ArrowDown":
......