Expand description
Action handlers using visitor pattern
This module implements a visitor pattern for handling different groups of actions, allowing us to break down the massive try_handle_action function into manageable chunks.
Structs§
- Action
Dispatcher - Main action dispatcher using visitor pattern
- Clear
Action Handler - Handler for clear/reset operations
- Column
Action Handler - Handler for column operations (pin, hide, sort, etc.)
- Column
Arrangement Action Handler - Handler for column arrangement actions (move left/right)
- Debug
Viewport Action Handler - Handler for debug and viewport control operations
- Exit
Action Handler - Handler for exit/quit actions
- Export
Action Handler - Handler for export operations (CSV, JSON)
- Function
KeyAction Handler - Handler for function key actions (F1-F12)
- Input
Cursor Action Handler - Handler for cursor movement actions in Command mode
- Mode
Action Handler - Handler for mode transition actions (search modes, debug, etc.)
- Navigation
Action Handler - Handler for navigation actions (Up, Down, Left, Right, PageUp, etc.)
- Search
Navigation Action Handler - Handler for search navigation actions
- Statistics
Action Handler - Handler for statistics and display actions
- Text
Edit Action Handler - Handler for text editing actions in Command mode
- Toggle
Action Handler - Handler for toggle operations (selection mode, row numbers, etc.)
- UIAction
Handler - Handler for UI mode and display operations
- Viewport
Navigation Handler - Handler for viewport navigation actions (H, M, L vim commands)
- Yank
Action Handler - Handler for yank operations (cell, row, column, etc.)
Traits§
- Action
Handler - Trait for handling groups of related actions
- Action
Handler Context - Context interface for action handlers to interact with the TUI This abstracts the TUI methods that action handlers need