Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CURRENT_QUERY_FOR_HIGHLIGHTING string = "" SELECTED_COMMAND string = "" )
View Source
var ( LAST_DISPATCHED_QUERY_ID = 0 LAST_DISPATCHED_QUERY_TIMESTAMP time.Time LAST_PROCESSED_QUERY_ID = -1 )
Globally shared monotonically increasing IDs used to prevent race conditions in handling async queries. If the user types 'l' and then 's', two queries will be dispatched: One for 'l' and one for 'ls'. These counters are used to ensure that we don't process the query results for 'ls' and then promptly overwrite them with the results for 'l'.
Functions ¶
Types ¶
type SelectStatus ¶
type SelectStatus int64
const ( NotSelected SelectStatus = iota Selected SelectedWithChangeDir )
Click to show internal directories.
Click to hide internal directories.