Go to file
Vladimir Markelov 187fb9bdd0 typo fix 2015-11-30 13:08:55 -08:00
demos #44 - add custom title to progressbar 2015-11-24 17:28:20 -08:00
themes better horizontal scroll draw support 2015-11-06 11:55:57 -08:00
LICENSE license file remove bom 2015-10-19 13:17:13 -07:00
README.md readme changed 2015-11-24 17:51:06 -08:00
button.go closes #33 - add colors for button 2015-11-02 17:08:36 -08:00
canvas.go #12 - the first text view control version 2015-11-06 17:02:33 -08:00
checkbox.go typo fix 2015-11-30 13:08:55 -08:00
colorparse.go #24 - add docs for ColorParser 2015-10-27 16:57:07 -07:00
composer.go closes #32 - maximized view follows console size 2015-11-02 15:38:54 -08:00
consts.go #44 - add custom title to progressbar 2015-11-24 17:28:20 -08:00
control_base.go fix interface a bit 2015-10-27 17:47:53 -07:00
ctrlutil.go typo fix 2015-11-13 17:04:19 -08:00
dialog.go #24 - add docs for EditField 2015-10-28 14:17:49 -07:00
edit.go #42 - fix pasting text to EditField 2015-11-24 14:05:08 -08:00
frame.go #24 - add docs for Radio 2015-10-29 10:36:18 -07:00
interface.go closes #40 - alignment for multicolored single lined string 2015-11-05 11:36:51 -08:00
intro.go godoc fixes 2015-11-03 10:08:10 -08:00
label.go added slice ability for colorized strings 2015-11-05 17:47:20 -08:00
listbox.go closes #43 - add onKeyPress for EditField and ListBox 2015-11-24 12:03:06 -08:00
progressbar.go #44 - add custom title to progressbar 2015-11-24 17:28:20 -08:00
radio.go #24 - add docs for Radio 2015-10-29 10:36:18 -07:00
radiogroup.go #24 - add docs for RadioGroup 2015-10-29 11:48:01 -07:00
textutil.go better horizontal scroll draw support 2015-11-06 11:55:57 -08:00
textview.go closes #12 - text view control and listbox fixes 2015-11-13 13:55:58 -08:00
theme.go #44 - add custom title to progressbar 2015-11-24 17:28:20 -08:00
window.go closes #25 - maximize+restore view 2015-10-30 15:12:35 -07:00

README.md

clui

Command Line User Interface (Console UI inspired by TurboVision) with built-in theme support.

Introduction

The list of available controls:

  • View (Main control container - with maximize, window order and other window features)
  • Label (Horizontal and Vertical with basic color control tags)
  • Button (Simple push button control)
  • EditFiled (One line text edit control with basic clipboard control)
  • ListBox (string list control with vertical scroll)
  • TextView (ListBox-alike control with vertical and horizontal scroll, and wordwrap mode)
  • ProgressBar (Vertical and horizontal. The latter one supports custom text over control)
  • Frame (A decorative control that can be a container for other controls as well)
  • CheckBox (Simple check box)
  • Radio (Simple radio button. Useless alone - should be used along with RadioGroup)
  • RadioGroup (Non-visual control to manage a group of a few RadioButtons)
  • ConfirmationDialog (modal View to ask a user confirmation, button titles are custom)
  • SelectDialog (modal View to ask a user to select an item from the list - list can be ListBox or RadioGroup)

TODO

  • BarChart (Horizontal bar chart without scroll)
  • Diagram (Show tabular data as a line graph or sparkle one)
  • GridView (Table to show structured data - only virtual and readonly mode with scroll support)

Screenshots

The screencast of demo (based on custom termbox-go Window build) included in the library:

Library Demo

The library is in the very beginning but it can be used to create working utilities: below is the example of my Dilbert comix downloader:

Dilbert Downloader