Simulator: Allow sending debug command with Enter

This commit is contained in:
Hugo Chargois 2023-11-18 02:29:44 +01:00
parent 2534dc7a65
commit bd9d792230

View file

@ -907,13 +907,13 @@
</div> </div>
</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> <textarea id="output" rows="8" style="width: 100%"></textarea>
<div style="display: flex"> <div style="display: flex">
<input id="input" placeholder="Filesystem command (see filesystem.c)" style="flex-grow: 1"></input> <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>
</div> </form>
<p> <p>
<a href="https://github.com/alexisphilip/Casio-F-91W">Original F-91W SVG</a> is &copy; 2020 Alexis Philip, used here <a href="https://github.com/alexisphilip/Casio-F-91W">Original F-91W SVG</a> is &copy; 2020 Alexis Philip, used here