Replace deprecated KeyEvent.character() with string()#106
Conversation
Upgrade tamboui to 0.3.0 and migrate all KeyEvent.character() calls to KeyEvent.string(). Where char-based comparisons or arithmetic are needed (digit checks, Character.toLowerCase, numeric offsets), use string().charAt(0) to preserve identical behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 26 minutes and 38 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Summary
KeyEvent.string()APIKeyEvent.character()calls withKeyEvent.string()across 6 files:SearchTui,SearchController,SearchInput,ToolPanel,PilotShell,DependenciesTuiCharacter.toLowerCase, numeric offsets likekey.character() - '1'), usekey.string().charAt(0)to preserve identical behaviorTest plan
./mvnw compile -B— zero deprecation warnings forcharacter()inKeyEvent./mvnw test -B— all tests pass🤖 Generated with Claude Code
Claude Code on behalf of Guillaume Nodet