2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-15 06:12:46 +00:00
Commit Graph

184 Commits

Author SHA1 Message Date
Oliver
21f50f5bc4 Fixed the docs of FormItem. Fixes #153 2018-08-07 09:25:40 +02:00
Oliver
c325864561 Added style attributes to Box border. Resolves #152 2018-08-07 09:23:19 +02:00
rivo
bc005edd52
Merge pull request #151 from SamWhited/modal_esc
Call modal done func on escape key
2018-08-07 09:15:56 +02:00
Oliver
85052babb2 Replaced license placeholders. Fixes #149 2018-08-04 11:55:25 +02:00
Sam Whited
65c5186a20 Call modal done func on escape key
Fixes #150
2018-08-03 13:03:11 -05:00
Oliver
6614b16d90 Added GetScrollOffset() to TextView. Resolves #124 2018-07-28 21:30:50 +02:00
Oliver
405e5fbb4f Separated TreeView's tree-building from Draw() function so changed events can be fired before drawing. Fixes #142 2018-07-27 18:27:27 +02:00
Oliver
cc64ead1ed Made Application.Draw() thread-safe (for real this time). Fixes #136 2018-07-27 16:30:50 +02:00
Oliver
100f053ee1 ANSI RGB colors were missing hashtags in tags. Fixes #140 2018-07-27 13:40:54 +02:00
Oliver
768070ef7b Hitting Escape on a drop-down selection resets it. 2018-07-19 12:46:48 +02:00
Oliver
c33dd0cf8e Added form item removal functions and more ways to find items. Resolves #137 2018-07-17 20:18:39 +02:00
Oliver
7338a21d35 Fixed ANSI spelling in README, too. See #138 2018-07-16 08:44:19 +02:00
rivo
4c25f440a5
Merge pull request #139 from ardnew/master
Replace all instances of ANSII; Resolves #138
2018-07-16 08:41:17 +02:00
ardnew
4b5dd0f8e1 replacing all instances of "ANSII" with "ANSI"
renaming unit ansii.go to ansi.go
resolves rivo/tview#138
2018-07-15 13:23:12 -05:00
Oliver
83483397e8 Cosmetic improvements. 2018-06-28 14:49:42 +02:00
rivo
6b270eb8e8
Merge pull request #135 from kvj/suspend-in-goroutine - fixes #134
Block main event loop with mutex during Suspend() call
2018-06-28 14:44:54 +02:00
Konstantin Vorobyev
01a39a486d Review feedback 2018-06-20 19:32:19 +02:00
Konstantin Vorobyev
2ac0e9e086 Block main event loop with mutex during Suspend() call 2018-06-20 17:04:03 +02:00
Oliver
306abd9cb9 Minor tweaks. This now also resolves #113 2018-06-20 10:17:55 +02:00
Oliver
4631cd7337 Added the tree view. 2018-06-20 10:06:05 +02:00
rivo
e643d10b36
Merge pull request #126 from benweidig/fix_borders
Refactored semigraphics and configurable borders
2018-06-15 23:09:46 +02:00
Oliver
6ffb56ee2a TextView now reindexes only on width changes if wrapping is enabled. 2018-06-09 22:35:48 +02:00
Oliver
1ee0c559cc Switched flexItem slice to pointers. 2018-06-09 22:16:38 +02:00
Benjamin Weidig
7ad390eb5e Removed deprecated funcs/const related to semigraphic changes 2018-06-09 14:58:29 +02:00
Benjamin Weidig
e8c92a715c Added visualization to SemigraphicJoints
To better understand what runes are joined how I've added comments with the actual unicode char. Also clarified that the key has to be sorted by rune value
2018-06-09 14:58:29 +02:00
Benjamin Weidig
b6cd5e5021 added comment to semigraphic related code 2018-06-09 14:58:29 +02:00
Benjamin Weidig
06dd16088a replaced old borders code with new configurable borders 2018-06-09 14:58:29 +02:00
Benjamin Weidig
29553e5794 added configurable borders 2018-06-09 14:58:29 +02:00
Benjamin Weidig
2e0f146244 refactored semigraphics
For a better semigraphics support all related code was moved to its own file. The const names reflect their unicode name to better distinguish the runes.
2018-06-09 14:58:29 +02:00
Benjamin Weidig
76fdcb42e9 fix borders and add unicode comment 2018-06-09 14:58:29 +02:00
Oliver
0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 2018-06-09 13:16:20 +02:00
Oliver
398a6c2f77 Added a function to resize a Flex item. Resolves #125 2018-06-07 14:19:25 +02:00
Oliver
71ecf1f429 Added a scroll function to TextView. Resolves #124 2018-05-28 21:27:25 +02:00
Oliver
bb80ad41aa Minor text change in presentation. Hopefully makes it more clear what's displayed. 2018-05-23 16:56:06 +02:00
Oliver
7afc7ac893 Index out of range bugfix. Fixes #101 2018-05-18 23:46:33 +02:00
Oliver
a26df4e781 Added SetAttributes() and SetStyle() to TableCell. Resolves #111 2018-05-15 16:59:07 +02:00
Oliver
c0b219f400 Bugfix: Flex will call Box.Draw() again. Fixes #104 2018-05-15 16:37:51 +02:00
Oliver
7d789421e3 DropDown now only uses List's main selected callback. Fixes #115 2018-05-12 16:35:32 +02:00
rivo
0a4caa5b6b
Merge pull request #112 from hoop33/master
Fix panic with <Enter> on empty list
2018-05-12 15:28:18 +02:00
Rob Warner
2899c719ca Fix panic with empty list 2018-05-09 18:13:40 -04:00
Oliver
213c37c368 Fixed handling of combining unicode characters. Fixes #101 2018-05-03 08:05:11 +02:00
Oliver
d7d44cb0d2 Flex and Grid don't clear their backgrounds anymore. Resolves #104 2018-05-02 17:02:52 +02:00
Oliver
f855bee020 Separated form item "done" function from "finished" function. Resolves #39 2018-04-19 21:34:03 +02:00
Oliver
f291602d9a Added functions to retrieve and set a list item's texts. Resolves #102 2018-04-19 21:17:13 +02:00
rivo
8d257feeb9
Merge pull request #106 from frankbraun/docufix
Documentation fix for flex.AddItem()
2018-04-19 21:07:20 +02:00
Frank Braun
bf464200bc Documentation fix for flex.AddItem()
The proportion must be at least 1 if fixedSize == 0.
2018-04-19 15:49:26 +00:00
Oliver
6b7d028eb1 Small update to documentation. 2018-04-14 18:56:18 +02:00
Oliver
911fb9543e Added Escape(), ANSIIWriter(), and TranslateANSII(). Resolves #84, resolves #24 2018-04-14 00:05:25 +02:00
Oliver
96473a04c6 Added Escape() function. Resolves #84 2018-04-12 13:09:06 +02:00
Oliver
5bd22542e5 For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99 2018-04-09 21:07:03 +02:00