summaryrefslogtreecommitdiffstats
path: root/watch-library/simulator/shell.html
diff options
context:
space:
mode:
authorWesley Aptekar-Cassels <me@wesleyac.com>2023-11-19 21:56:05 -0500
committerGitHub <noreply@github.com>2023-11-19 21:56:05 -0500
commit3487d742f12b8a0040f89dfa81c298d8e7d52e69 (patch)
tree1d3e3894725b60179551df705ee962c5adca8f78 /watch-library/simulator/shell.html
parent4ececdc57a4f940f60d8e9fe12bfb129c5d80f07 (diff)
parentb82d7289371dd0245df2275dd9789b70b6b3d63b (diff)
downloadSensor-Watch-3487d742f12b8a0040f89dfa81c298d8e7d52e69.tar.gz
Sensor-Watch-3487d742f12b8a0040f89dfa81c298d8e7d52e69.tar.bz2
Sensor-Watch-3487d742f12b8a0040f89dfa81c298d8e7d52e69.zip
Merge pull request #330 from hchargois/fix-simulator-keyboard-shortcuts
Fix simulator keyboard shortcuts
Diffstat (limited to 'watch-library/simulator/shell.html')
-rw-r--r--watch-library/simulator/shell.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/watch-library/simulator/shell.html b/watch-library/simulator/shell.html
index c8da063e..29fbed03 100644
--- a/watch-library/simulator/shell.html
+++ b/watch-library/simulator/shell.html
@@ -907,13 +907,13 @@
</div>
</div>
- <div style="display: flex; flex-direction: column; width: 100%">
+ <form onSubmit="sendText(); return false" style="display: flex; flex-direction: column; width: 100%">
<textarea id="output" rows="8" style="width: 100%"></textarea>
<div style="display: flex">
<input id="input" placeholder="Filesystem command (see filesystem.c)" style="flex-grow: 1"></input>
- <button id="submit" onclick="sendText()">Send</button>
+ <button type="submit">Send</button>
</div>
- </div>
+ </form>
<p>
<a href="https://github.com/alexisphilip/Casio-F-91W">Original F-91W SVG</a> is &copy; 2020 Alexis Philip, used here