RSSAmplifier

Rocket 9 Labs · Nov 8, 2019

tview and you - Creating Rich Terminal User Interfaces

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

This is an introduction to using tview (or cview) to create rich terminal-based user interfaces with Go. Primitives The Primitive interface is as follows: type Primitive interface { Draw(screen tcell.Screen) GetRect() (int, int, int, int) SetRect(x, y, width, height int) InputHandler() func(event *tcell.EventKey, setFocus func(p Primitive)) Focus(delegate func(p Primitive)) Blur() GetFocusable()…

Read on /post/tview-and-you/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.