(event *tcell.EventKey)
| 591 | } |
| 592 | |
| 593 | func searchPageKeyHandler(event *tcell.EventKey) *tcell.EventKey { |
| 594 | if event.Key() == tcell.KeyTab || event.Key() == tcell.KeyBacktab { |
| 595 | searchRotateFocus() |
| 596 | return nil |
| 597 | } |
| 598 | |
| 599 | switch event.Key() { |
| 600 | case tcell.KeyCtrlF: |
| 601 | openFinder(&searchCache, "Object Search") |
| 602 | case tcell.KeyCtrlB: |
| 603 | openSearchBaseDNForm() |
| 604 | } |
| 605 | |
| 606 | return event |
| 607 | } |
| 608 | |
| 609 | func searchRotateFocus() { |
| 610 | currentFocus := app.GetFocus() |
nothing calls this directly
no test coverage detected