startpage

Simple text centric startpage
Log | Files | Refs | README

commit 75caa6be8b0f40bd1ee50ce9bd1e21ee830fe0e2
parent 64efed272c66a43b9a3f14b6235f68ca454deebd
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Mon, 18 Aug 2025 20:12:08 +0100

Add escape handler to clear input field

Diffstat:
Mindex.html | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html @@ -334,6 +334,10 @@ } else { handleCommand(input.value); } + } else if (e.key === "Escape") { + input.value = ""; + predictionDisplay.textContent = ""; + filterBookmarks(""); } });