This commit is contained in:
Radon 2025-01-20 19:27:54 -06:00
parent 890fa31ed4
commit 5589fb8042
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -452,8 +452,10 @@ function initializeTheme() {
document.addEventListener("keyup", function (event) {
const inputPanel = document.getElementById("message");
if (inputPanel.contains(event.target) && event.key === "ArrowUp") {
if (inputPanel.value === "") {
inputPanel.value = lastMessage;
}
}
});
async function initialize() {

2
go.mod
View File

@ -2,4 +2,4 @@ module chat
go 1.23.4
require github.com/mattn/go-sqlite3 v1.14.24 // indirect
require github.com/mattn/go-sqlite3 v1.14.24 // direct