Documentation ¶
Index ¶
Constants ¶
View Source
const PADDED_NUM_ENTRIES = TABLE_HEIGHT * 5
View Source
const TABLE_HEIGHT = 20
Variables ¶
View Source
var CURRENT_QUERY_FOR_HIGHLIGHTING string = ""
View Source
var LAST_DISPATCHED_QUERY_ID = 0
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'.
View Source
var LAST_DISPATCHED_QUERY_TIMESTAMP time.Time
View Source
var LAST_PROCESSED_QUERY_ID = -1
View Source
var SELECTED_COMMAND string = ""
Functions ¶
Types ¶
type SelectStatus ¶
type SelectStatus int64
const ( NotSelected SelectStatus = iota Selected SelectedWithChangeDir )
Click to show internal directories.
Click to hide internal directories.