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

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}>