Skip to content

feat: ignore special key escape sequences and add text navigation/editing#1030

Open
ns-vasilev wants to merge 1 commit intotuist:mainfrom
ns-vasilev:feature/text-prompt-new
Open

feat: ignore special key escape sequences and add text navigation/editing#1030
ns-vasilev wants to merge 1 commit intotuist:mainfrom
ns-vasilev:feature/text-prompt-new

Conversation

@ns-vasilev
Copy link
Copy Markdown
Contributor

This PR improves the behavior and usability of TextPrompt.

  • Ignore escape sequences from special keys (e.g. arrow keys) to prevent unexpected input
  • Refactor input handling logic for better structure and maintainability
  • Add cursor navigation within the input to allow editing existing text

Close #211

@ns-vasilev ns-vasilev requested a review from a team as a code owner March 30, 2026 16:15
@ns-vasilev ns-vasilev requested review from cschmatzler and fortmarek and removed request for a team March 30, 2026 16:15
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 30, 2026
@ns-vasilev ns-vasilev force-pushed the feature/text-prompt-new branch from 49fb4e1 to ce51984 Compare March 30, 2026 16:15
@dosubot dosubot bot added changelog:added enhancement New feature or request labels Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:added enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text prompt breaks on special keys

1 participant