--[[
    Commander 3.0 - Constants

    Centralized magic numbers and configuration values.
    Prevents duplicate definitions across the codebase.
]]

local ADDON_NAME, C3 = ...

C3.Constants = {
    -- Coroutine yielding
    YIELD_INTERVAL = 50,          -- Yield every N iterations in loops

    -- Intellisense
    MAX_SUGGESTIONS = 15,         -- Maximum autocomplete suggestions shown

    -- Results
    MAX_RESULTS = 200,            -- Default maximum results for list commands

    -- Kernel
    TIME_BUDGET_MS = 2,           -- Time budget per frame in milliseconds

    -- Buffer
    MAX_BUFFER_LINES = 10000,     -- Maximum lines in virtual buffer (ring buffer)

    -- UI
    DEFAULT_FONT_SIZE = 12,       -- Default font size in points
    MIN_FONT_SIZE = 8,
    MAX_FONT_SIZE = 24,
}

return C3.Constants
