Skip to content

Fix: add -- separator to wtype command#158

Open
brutestack wants to merge 1 commit intoideasman42:mainfrom
brutestack:fix-wtype-dash-argument
Open

Fix: add -- separator to wtype command#158
brutestack wants to merge 1 commit intoideasman42:mainfrom
brutestack:fix-wtype-dash-argument

Conversation

@brutestack
Copy link

Summary

  • Add -- separator before text argument in wtype command to prevent text starting with - from being misinterpreted as a command flag

Problem

When dictated text begins with a dash (e.g., "- item"), wtype may interpret it as a command-line option, causing unexpected behavior or errors.

Solution

Added the standard -- end-of-options separator before the text argument, which is a common Unix convention to indicate that subsequent arguments should not be treated as options.

Test plan

  • Tested with text starting with - character
  • Verified normal text input still works correctly

Prevents text beginning with - from being misinterpreted as a command flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant