Go to file
Vladimir Markelov c3c5a89b77 fix main demo gif 2016-06-23 10:36:31 -07:00
demos fix main demo gif 2016-06-23 10:36:31 -07:00
themes closes #49 - fix default turbovision theme 2016-01-04 11:34:10 -08:00
LICENSE license file remove bom 2015-10-19 13:17:13 -07:00
README.md Update README.md 2016-06-23 10:35:46 -07:00
barchart.go closes #37 - fix bugs and complete bar chartdemo 2015-12-10 12:11:16 -08:00
button.go closes #33 - add colors for button 2015-11-02 17:08:36 -08:00
canvas.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -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 #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08:00
consts.go #36 - table view control - event support 2015-12-22 16:39:32 -08:00
control_base.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08:00
ctrlutil.go typo fix 2015-11-13 17:04:19 -08:00
dialog.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08:00
edit.go #42 - fix pasting text to EditField 2015-11-24 14:05:08 -08:00
frame.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08:00
interface.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -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 #45 - allow to use color tags in listbox 2015-11-30 14:17:39 -08:00
listbox_test.go add listbox test 2015-12-23 15:52:05 -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
sparkchart.go fix lint warnings 2015-12-11 15:43:11 -08:00
tableview.go closes #36 - table view control - add description 2015-12-22 17:50:33 -08:00
textutil.go add test suit for text utils 2015-12-22 10:48:12 -08:00
textutil_test.go add test suit for text utils 2015-12-22 10:48:12 -08:00
textview.go closes #12 - text view control and listbox fixes 2015-11-13 13:55:58 -08:00
theme.go #36 - table view control - event support 2015-12-22 16:39:32 -08:00
window.go closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08: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)
  • BarChart (Horizontal bar chart without scroll)
  • SparkChart (Show tabular data as a bar graph)
  • GridView (Table to show structured data - only virtual and readonly mode with scroll support)

TODO

  • More to come

Screenshots

The main demo (theme changing and radio group control)

Main Demo

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