Skip to content

Commit 3d08625

Browse files
committed
Refactor dropdown menu shortcuts to use concise Unicode symbols for Return and C
1 parent 1d64577 commit 3d08625

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/ui/src/components/editor/panel/PromptField/PromptField.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,12 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
530530
items={[
531531
{
532532
label: 'Select...',
533-
shortcut: is_mac ? '⌘ Return' : 'Ctrl+Enter',
533+
shortcut: is_mac ? '⌘↩' : 'Ctrl+Enter',
534534
on_click: handle_select_click
535535
},
536536
{
537537
label: 'Copy prompt',
538-
shortcut: is_mac ? '⌘ C' : 'Ctrl+C',
538+
shortcut: is_mac ? '⌘C' : 'Ctrl+C',
539539
on_click: handle_copy_click
540540
}
541541
]}

0 commit comments

Comments
 (0)