opentui-keyboard

Official

Master keyboard input in OpenTUI apps.

Authornthplusio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenTUI keyboard handling is essential for reliable terminal user interfaces; this skill provides a structured approach to capturing and responding to key events, focus changes, and shortcuts across OpenTUI environments.

Core Features & Use Cases

  • Unified keyboard primitives: defines KeyEvent structures and consistent modifier handling for React, Solid, and Core renderers.
  • Focus-aware shortcuts: supports global vs. focused input shortcuts to prevent conflicts in TUIs.
  • Pattern-driven navigation: includes patterns for menus, editors, and forms with predictable keyboard interactions.
  • Real-world usage: ideal for building CLI applications with robust keyboard navigation, hotkeys, and accessible UX.

Quick Start

Install the OpenTUI keyboard utilities in your project and start wiring useKeyboard in your component or renderer to respond to key events (e.g., escape to quit, arrows for navigation).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opentui-keyboard
Download link: https://github.com/nthplusio/functional-claude/archive/main.zip#opentui-keyboard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.