From dc2ac144b7059ec2d66f1e90316df40d3822c8b5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 21 Jul 2025 17:54:44 -0400 Subject: Various spelling improvements (#3497) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Sandy Tao --- packages/cli/src/ui/components/Footer.tsx | 2 +- packages/cli/src/ui/components/InputPrompt.tsx | 2 +- packages/cli/src/ui/components/ThemeDialog.tsx | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'packages/cli/src/ui/components') diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx index 95904cd9..3b54a989 100644 --- a/packages/cli/src/ui/components/Footer.tsx +++ b/packages/cli/src/ui/components/Footer.tsx @@ -79,7 +79,7 @@ export const Footer: React.FC = ({ ) : process.env.SANDBOX === 'sandbox-exec' ? ( - MacOS Seatbelt{' '} + macOS Seatbelt{' '} ({process.env.SEATBELT_PROFILE}) ) : ( diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index a713c889..6192fb8c 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -448,7 +448,7 @@ export const InputPrompt: React.FC = ({ return; } - // Fallback to the text buffer's default input handling for all other keys + // Fall back to the text buffer's default input handling for all other keys buffer.handleInput(key); }, [ diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx index 41c39b63..a6a16b8c 100644 --- a/packages/cli/src/ui/components/ThemeDialog.tsx +++ b/packages/cli/src/ui/components/ThemeDialog.tsx @@ -73,7 +73,7 @@ export function ThemeDialog({ const initialThemeIndex = themeItems.findIndex( (item) => item.value === selectedThemeName, ); - // If not found, fallback to the first theme + // If not found, fall back to the first theme const safeInitialThemeIndex = initialThemeIndex >= 0 ? initialThemeIndex : 0; const scopeItems = [ @@ -185,7 +185,7 @@ export function ThemeDialog({ } // Don't focus the scope selection if it is hidden due to height constraints. - const currenFocusedSection = !showScopeSelection ? 'theme' : focusedSection; + const currentFocusedSection = !showScopeSelection ? 'theme' : focusedSection; // Vertical space taken by elements other than the two code blocks in the preview pane. // Includes "Preview" title, borders, and margin between blocks. @@ -224,8 +224,8 @@ export function ThemeDialog({ {/* Left Column: Selection */} - - {currenFocusedSection === 'theme' ? '> ' : ' '}Select Theme{' '} + + {currentFocusedSection === 'theme' ? '> ' : ' '}Select Theme{' '} {otherScopeModifiedMessage} {/* Scope Selection */} {showScopeSelection && ( - - {currenFocusedSection === 'scope' ? '> ' : ' '}Apply To + + {currentFocusedSection === 'scope' ? '> ' : ' '}Apply To )} @@ -261,7 +261,7 @@ export function ThemeDialog({ {/* Right Column: Preview */} Preview - {/* Get the Theme object for the highlighted theme, fallback to default if not found */} + {/* Get the Theme object for the highlighted theme, fall back to default if not found */} {(() => { const previewTheme = themeManager.getTheme( -- cgit v1.2.3