fix:Update /help to show correct newline key combo for different OS #… (#2043)

Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
Devansh 2025-06-30 01:16:14 +02:00 committed by GitHub
parent f848d35758
commit 2096f971cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -97,9 +97,11 @@ export const Help: React.FC<Help> = ({ commands }) => (
</Text>
<Text color={Colors.Foreground}>
<Text bold color={Colors.AccentPurple}>
Shift+Enter
{process.platform === 'win32' ? 'Ctrl+Enter' : 'Ctrl+J'}
</Text>{' '}
- New line
{process.platform === 'linux'
? '- New line (Alt+Enter works for certain linux distros)'
: '- New line'}
</Text>
<Text color={Colors.Foreground}>
<Text bold color={Colors.AccentPurple}>