1
0
mirror of https://github.com/rivo/tview.git synced 2025-05-08 19:29:39 +08:00

160 Commits

Author SHA1 Message Date
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
Oliver
b4fd66d458 Fixed style calculation in TextView which led to unwanted artefacts when the default terminal background color was not black. Fixes #91 2018-04-07 13:28:32 +02:00
Oliver
cc84c982fc Added GetFormItemByLabel(). Resolves #94 2018-04-07 12:58:52 +02:00
Oliver
3d4fa476ed Fixed misleading description. 2018-04-01 21:24:04 +02:00
Oliver
83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver
74643a2db5 Pages should clear their background before redrawing. Fixes #89 2018-03-29 18:28:32 +02:00
Oliver
87ba87feda Bufix in Pages: Avoid calling a nil function. Fixes #85 2018-03-25 17:52:41 +02:00
Oliver
6e3b8a41c8 A Box's inner rect will now clamp to screen space. Resolves #79 2018-03-23 21:09:02 +01:00
Oliver
761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver
b357eaf10f Drop-down allows typing to directly jump to options. Resolves #77 2018-03-18 20:42:51 +01:00
Oliver
258c9d1f8e Forms will attempt to keep focused form items within available area. Fixes #79 2018-03-15 17:54:17 +01:00
Oliver
370ee01609 Added placeholder text to InputField. Resolves #75 2018-03-15 17:14:14 +01:00
Oliver
0b69b9b581 Updated release history. 2018-03-13 08:17:06 +01:00
Oliver
11727c933b Added suspended mode to Application. (Swallows one key event, tcell issue pending.) Resolves #70 2018-03-13 08:16:09 +01:00
Oliver
7e4958256f List (and therefore also DropDown) will scroll if currently selected item is not on screen anymore. Fixes #71 2018-03-11 09:51:15 +01:00
Oliver
45acc0d895 Added getters for some callback functions. Resolves #65 2018-03-10 23:30:49 +01:00
Oliver
c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 2018-03-10 12:59:42 +01:00
Oliver
c2f07f9548 Some housekeeping. 2018-03-05 16:37:10 +01:00
Oliver
ccd80aa4fc Minor code reduction. 2018-03-05 14:18:04 +01:00
Oliver
8cb36ea743 Added expansion factor to table cells which grows columns if there is more space than needed. Resolves #62 2018-03-05 14:07:18 +01:00
Oliver
a3971dc430 Rewrote WordWrap() function due to bugs. 2018-03-04 15:01:12 +01:00
Oliver
3bac79f308 Added RemoveItem() to Grid and Flex. Resolves #63 2018-03-02 17:07:46 +01:00
Oliver
a5c65a977d Added an initial guide for contributions. 2018-03-01 18:29:33 +01:00
rivo
cbeeab5280
Merge pull request #61 from robinator8/master
The screenshots were added for the GitHub Wiki originally. (All the demos are in the Wiki, too.) But I guess it makes to have them show up as well when browsing the code.
2018-02-28 20:37:00 +01:00
Robert Craig
7c2d6fc65f Added README files for demos to make screenshots easier to view on github 2018-02-28 10:24:01 -05:00