There was an error while loading. Please reload this page.
1 parent 7761a37 commit 2751d53Copy full SHA for 2751d53
index.php
@@ -89,7 +89,8 @@
89
<form method="post">
90
<label for="cmd"><strong>Command</strong></label>
91
<div class="form-group">
92
- <input type="text" name="cmd" id="cmd" value="<?= htmlspecialchars($_POST['cmd'], ENT_QUOTES, 'UTF-8') ?>" required>
+ <input type="text" name="cmd" id="cmd" value="<?= htmlspecialchars($_POST['cmd'], ENT_QUOTES, 'UTF-8') ?>"
93
+ onfocus="this.setSelectionRange(this.value.length,this.value.length);" autofocus required>
94
<button type="submit">Execute</button>
95
</div>
96
</form>
0 commit comments