We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a397419 commit 7ce4645Copy full SHA for 7ce4645
1 file changed
cli/src/components/multiline-input.tsx
@@ -346,8 +346,8 @@ export const MultilineInput = forwardRef<
346
347
// Alt+Backspace or Ctrl+W: Delete word backward
348
if (
349
- key.name === 'backspace' &&
350
- (isAltLikeModifier || (key.ctrl && lowerKeyName === 'w'))
+ (key.name === 'backspace' && isAltLikeModifier) ||
+ (key.ctrl && lowerKeyName === 'w')
351
) {
352
preventKeyDefault(key)
353
const newValue =
0 commit comments