diff options
author | Hugo Chargois <hugo.chargois@free.fr> | 2023-11-18 02:29:44 +0100 |
---|---|---|
committer | Hugo Chargois <hugo.chargois@free.fr> | 2023-11-19 19:50:39 +0100 |
commit | bd9d792230094ec447f9948a7a8f164d8f7535cb (patch) | |
tree | 27d25ed163eea941483dbb07defeeb59091059f5 | |
parent | 2534dc7a654b78b271495f37d2b5540c882a17f0 (diff) | |
download | Sensor-Watch-bd9d792230094ec447f9948a7a8f164d8f7535cb.tar.gz Sensor-Watch-bd9d792230094ec447f9948a7a8f164d8f7535cb.tar.bz2 Sensor-Watch-bd9d792230094ec447f9948a7a8f164d8f7535cb.zip |
Simulator: Allow sending debug command with Enter
-rw-r--r-- | watch-library/simulator/shell.html | 6 |
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 © 2020 Alexis Philip, used here |