Back to Projects
TUIX v0.1Alpha

Last Updated: 2026-05-20

Installation

Install TUIX Core using pip.

pip

pip install tuix-core

Dependencies

TUIX Core has one external dependency:

  • wcwidth — Used for accurate visual width calculation of Unicode characters (CJK, emoji, etc.)

All other imports are from the Python standard library: os, re, sys, time, shutil, copy, typing, and ctypes (Windows only).

Platform Notes

WindowsOn Windows, TUIX Core uses ctypes to call kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7) at import time. This enables ANSI escape sequence processing in the Windows console. Input is handled via msvcrt.getch().
macOS / LinuxOn Unix-like systems, raw keyboard input is read via termios and tty modules. The terminal is set to raw mode during input and restored afterward.

Verify Installation

Verify the installation by importing the engine:

from tuix.core import TuixEngine
engine = TuixEngine()
print('TUIX Core loaded successfully')
Ready to Go!TUIX Core is now installed. Head to the First Component guide to build your first interactive menu.