Module history_input_handler

Module history_input_handler 

Source
Expand description

History input handler operations

This module contains the logic for handling Ctrl+R history search functionality, extracted from the monolithic TUI to improve maintainability and testability.

Structs§

HistoryInputContext
Context for history input operations Provides the minimal interface needed for history search operations

Enums§

HistoryInputResult
Result of processing a history input key event

Functions§

handle_history_input
Handle a key event in history search mode Returns the result of processing the key event
key_updates_search
Check if the key event would cause a history search update
should_update_history_matches
Update history matches with schema context This is a separate function that the TUI can call when needed