Fix browser terminal paste for hosting clients.
Deploy Ladill Hosting / deploy (push) Successful in 42s
Deploy Ladill Hosting / deploy (push) Successful in 42s
Use bracketed paste, reliably bind paste capture, stop blocking mousedown focus, and give shells a short prompt with horizontal-scroll readline so long pasted commands do not wrap incorrectly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<div class="relative min-h-0 flex-1 overflow-hidden">
|
||||
<div
|
||||
x-ref="terminal"
|
||||
@mousedown.prevent="focusTerminal()"
|
||||
@mousedown="focusTerminal()"
|
||||
@click="focusTerminal()"
|
||||
tabindex="0"
|
||||
class="h-full w-full cursor-text bg-[#0a0a0a] p-2"
|
||||
@@ -89,6 +89,9 @@
|
||||
<span class="font-mono">bash</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-1 text-[10px] text-white/25">
|
||||
<kbd class="rounded bg-white/5 px-1 py-0.5 font-mono">Ctrl/Cmd+V</kbd>
|
||||
<span>paste</span>
|
||||
<span class="mx-2 text-white/10">|</span>
|
||||
<kbd class="rounded bg-white/5 px-1 py-0.5 font-mono">Ctrl+C</kbd>
|
||||
<span>cancel</span>
|
||||
<span class="mx-2 text-white/10">|</span>
|
||||
|
||||
Reference in New Issue
Block a user