make the command line a bit more accessible by including a :| icon at the bottom

also add a few extra commands for navigating around the house
This commit is contained in:
りき萌 2024-12-10 20:40:44 +01:00
parent 7c93750b32
commit 6d3037791a
9 changed files with 169 additions and 104 deletions

View file

@ -155,8 +155,10 @@ function formatSizeSI(bytes) {
if (TREEHOUSE_DEV) {
CommandLine.registerCommand({
aliases: ["addpic"],
aliases: ["add-pic"],
description: "add a picture interactively and copy its ulid",
immediate: true,
run() {
let dialog = document.body.appendChild(document.createElement("dialog"));
dialog.addEventListener("keydown", (event) => {