Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.12 KB

File metadata and controls

46 lines (33 loc) · 1.12 KB

Console-UI

Console-UI is a C++ framework for building interactive Windows console user interfaces.
A modular menu framework to support tabs, buttons, sliders, combo boxes, and other UI components—all displayed directly in the terminal. Built upon my Menu Framework to expand the framework so tabs are no longer limited to containing a maximum of 9 items.

Designed for native Windows console applications.


Features

  • Interactive console-based UI components
    • Tabs
    • Buttons
    • Sliders
    • Combo boxes
  • Modular menu framework
  • Keyboard-driven navigation
  • Clean separation between UI elements and logic
  • Ideal for tools, utilities, installers, and terminal apps

Requirements

  • Windows
  • C++17 or later
  • Visual Studio (recommended)

Example Menu Code

	vector<unique_ptr<Item>> items;
	bool val = true;
	items.push_back(make_unique<Button>("Button", val));

	vector<unique_ptr<Tab>> tabs;
	tabs.push_back(make_unique<Tab>("A", move(items)));

	Menu menu = Menu("Console User Interface", move(tabs));
	menu.init();
	menu.think();