CSS

Tcell – Go package

Tcell is a Go package that provides a cell based view for text terminals such as XTerm.

It was inspired by termbox, but adds a broader terminal abstraction for applications that need better portability, richer input handling, Unicode support, and colour control.

This is free and open source software.

Key Features

  • Cell-based terminal screen abstraction for Go applications.
  • Pure Go implementation with no CGO requirement.
  • Runs on Linux, FreeBSD, macOS, Solaris, Windows, WebAssembly, and Plan 9.
  • Unicode support including wide characters and grapheme clusters.
  • Conversion support for non-Unicode locales.
  • Enhanced handling for special keys and keyboard modifiers.
  • Mouse tracking with support for motion events, click-drag, buttons, and wheel events.
  • ANSI/XTerm colour palette support with optional 24-bit colour.
  • Bracketed paste support.
  • Terminal override options for keyboard, mouse, and capability negotiation behaviour.
  • Demonstration programs and examples.

Tcell gives developers a portable foundation for building text user interfaces in Go. It hides many terminal-specific details while still exposing the features needed by modern terminal applications.

Website: github.com/gdamore/tcell
Support:
Developer: Garrett D’Amore and contributors
License: Apache License 2.0

Tcell is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Go TUI Frameworks
termuiGolang terminal dashboard
Bubble TeaFun, functional and stateful way to build terminal apps
tviewTerminal UI library with rich, interactive widgets
gocuiMinimalist Go package aimed at creating Console User Interfaces.
CobraLibrary for creating powerful modern CLI applications
cviewTerminal-based user interface toolkit (fork of tview)
Lip GlossStyle definitions for nice terminal layouts

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted