Commit 46d51b8
feat(chat): add input bar navigation with tab integration
Integrates input bar as a navigation target in tab cycle alongside existing
toggle navigation. Users can now tab between toggles and input bar, with
cursor visibility managed contextually.
Key changes:
- Added inputBarFocused state to track input bar focus
- Extended tab navigation to include input bar as target
- Updated cursor management to show/hide based on focus context
- Restricted input handling to only when input bar is focused
- ESC key now focuses input bar when clearing other focus
- All tests pass and functionality preserved
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>1 parent 4cecbf0 commit 46d51b8
File tree
2 files changed
+271
-123
lines changed- npm-app/src/cli-handlers
- __tests__
2 files changed
+271
-123
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
474 | 476 | | |
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
| 480 | + | |
| 481 | + | |
478 | 482 | | |
479 | 483 | | |
480 | | - | |
481 | 484 | | |
482 | 485 | | |
483 | 486 | | |
| |||
570 | 573 | | |
571 | 574 | | |
572 | 575 | | |
573 | | - | |
| 576 | + | |
574 | 577 | | |
575 | 578 | | |
576 | 579 | | |
| |||
582 | 585 | | |
583 | 586 | | |
584 | 587 | | |
585 | | - | |
| 588 | + | |
586 | 589 | | |
587 | | - | |
| 590 | + | |
588 | 591 | | |
589 | 592 | | |
590 | 593 | | |
| |||
0 commit comments