mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-12 17:40:52 +01:00
kalk_web: 'clear' command
This commit is contained in:
parent
e40428016f
commit
eeb1e1e5a4
@ -77,6 +77,10 @@
|
||||
output = `<a style="color: ${linkcolor}"
|
||||
href="https://kalk.netlify.app/#usage"
|
||||
target="blank">Link to usage guide</a>`;
|
||||
} else if (input.trim() == "clear") {
|
||||
outputLines = [];
|
||||
target.innerHTML = "";
|
||||
return;
|
||||
} else {
|
||||
const [result, success] = calculate(
|
||||
kalk,
|
||||
|
Loading…
Reference in New Issue
Block a user