Collapse the terminal dock from Escape anywhere in the panel.
Drop unused suggestion state and copy, and give the panel a reduced-motion-aware open transition. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,7 +13,13 @@
|
||||
</button>
|
||||
|
||||
@if (open()) {
|
||||
<section class="terminal-dock-panel" [id]="panelId" [attr.aria-label]="copy().panelLabel">
|
||||
<section
|
||||
class="terminal-dock-panel"
|
||||
[id]="panelId"
|
||||
tabindex="-1"
|
||||
[attr.aria-label]="copy().panelLabel"
|
||||
(keydown)="onPanelKeydown($event)"
|
||||
>
|
||||
<div class="terminal-dock-toolbar cluster">
|
||||
<p class="terminal-dock-title">{{ copy().panelLabel }}</p>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user