diff --git a/kalk_web/src/KalkCalculator.svelte b/kalk_web/src/KalkCalculator.svelte index 6a1ce80..61ef13e 100644 --- a/kalk_web/src/KalkCalculator.svelte +++ b/kalk_web/src/KalkCalculator.svelte @@ -77,6 +77,10 @@ output = `Link to usage guide`; + } else if (input.trim() == "clear") { + outputLines = []; + target.innerHTML = ""; + return; } else { const [result, success] = calculate( kalk,