From 2096f971cd57a2a1d5d8fb5438be1ea77b01f3c6 Mon Sep 17 00:00:00 2001 From: Devansh Date: Mon, 30 Jun 2025 01:16:14 +0200 Subject: [PATCH] =?UTF-8?q?fix:Update=20/help=20to=20show=20correct=20newl?= =?UTF-8?q?ine=20key=20combo=20for=20different=20OS=20#=E2=80=A6=20(#2043)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Allen Hutchison --- packages/cli/src/ui/components/Help.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/ui/components/Help.tsx b/packages/cli/src/ui/components/Help.tsx index 8e1fd09e..d56f0959 100644 --- a/packages/cli/src/ui/components/Help.tsx +++ b/packages/cli/src/ui/components/Help.tsx @@ -97,9 +97,11 @@ export const Help: React.FC = ({ commands }) => ( - Shift+Enter + {process.platform === 'win32' ? 'Ctrl+Enter' : 'Ctrl+J'} {' '} - - New line + {process.platform === 'linux' + ? '- New line (Alt+Enter works for certain linux distros)' + : '- New line'}