fixed silly syntax and import erorrs

This commit is contained in:
mellodoot 2023-10-02 12:40:48 +01:00
parent fb78781908
commit f8aabee1cc
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import * as Terminal from "./terminal.js";
import * as Visual from "./visual.js";
document.addEventListener("DOMContentLoaded", () => {
Terminal.start();
Visual.bind();
Terminal.start();
});

View file

@ -46,7 +46,7 @@ to help you feel a little more comfortable, i've prepared some commands for you:
const foreground = localStorage.getItem("foreground");
const background = localStorage.getItem("background");
if (foreground && background) {
set_colours(foreground, background);
window.set_colours(foreground, background);
}
if (localStorage.getItem("lcd")) {
@ -264,3 +264,4 @@ function handle_paste(event) {
text: paste,
});
content.scrollTop = content.scrollHeight - content.offsetHeight;
}