Skip to content

charmbracelet/x

Repository files navigation

x

A 3D rendering of an X
Build Status

This repository contains experimental packages with no promises of backwards compatibility. Once they mature here, they might be moved into other repositories.

Currently the following packages are available:

  • ansi: ANSI escape sequence parser and definitions • Docs
  • conpty: Windows Console Pseudo-terminal library • Docs
  • editor: open files in text editors • Docs
  • errors: errors.Join in older Go versions • Docs
  • golden: verify golden file equality • Docs
  • higherorder: generic higher order functions • Docs
  • input: terminal event input handler and driver • Docs
  • json: JSON parsing using generics • Docs
  • maps: generic maps utilities
  • open: open a file/URL using open, xdg-open, etc • Docs
  • ordered: generic min, max, and clamp functions for ordered types • Docs
  • slice: generic slice utilities • Docs
  • sshkey: open and parse SSH keys, asks for passphrases when needed • Docs
  • strings: utilities for working with strings • Docs
  • teatest: a library for testing Bubble Tea programs • Docs
  • term: terminal utilities and helpers • Docs
  • termios: Termios unified API and library • Docs
  • windows: Windows API used at Charmbracelet • Docs
  • xpty: cross-platform PTY interface • Docs

Feedback

We'd love to hear your thoughts on this project. Feel free to drop us a note!

License

MIT


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة