AutoCAD-style floating command line with Promise-based execution.

Features:

  • Floating command bar with left terminal glyph + down toggle and right up toggle
  • Command history popup
  • Message panel above the bar
  • Enter repeats last command if input empty
  • Esc cancels current command
  • Inline clickable options
  • Keyboard navigation
  • Promise-based execution for async command handling
  • Auto-complete popup for matching commands

Constructors

Properties

autoCompleteIndex: number
bar: HTMLDivElement
cliContainer: HTMLDivElement
cmdPopup: HTMLDivElement
container: HTMLElement
downBtn: HTMLButtonElement
history: string[]
historyIndex: number
input: HTMLDivElement
isCmdPopupOpen: boolean
isMsgPanelOpen: boolean
lastExecuted: null | string
leftGroup: HTMLDivElement
minWidth: number
msgPanel: HTMLDivElement
termGlyph: HTMLDivElement
upBtn: HTMLButtonElement
widthRatio: number
wrapper: HTMLDivElement

Accessors

Methods