Show Caps Lock indicator in SSH password prompt#2840
Show Caps Lock indicator in SSH password prompt#28400John-Hong0 wants to merge 1 commit intowavetermdev:mainfrom
Conversation
WalkthroughThis pull request adds Caps Lock detection functionality to the user input modal component. A new state variable tracks whether Caps Lock is active, with event handlers on onKeyDown and onKeyUp that detect the Caps Lock status. When Caps Lock is detected and the input is not in public text mode, a warning message displays below the input field. The changes also include minor formatting adjustments to the checkbox label element and updated useEffect dependencies to include the new handler function. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
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 |
When entering an SSH password, there is no indication if Caps Lock is enabled, which can lead to failed attempts.
This adds a small Caps Lock indicator to the SSH password input.
The change is scoped only to the password prompt and does not affect behavior.