Commit graph

622 commits

Author SHA1 Message Date
c2f9074643 Add TabbedPanels.SetChangedFunc
Resolves #80.
2021-11-12 15:18:03 -08:00
b19f5402ae Document ANSI translation fix 2021-10-04 20:50:50 -07:00
tslocum
10ad6ee7dd Merge pull request 'Add missing ansi translations' (#78) from Seanstoppable/cview:addmissingansitranslations into master
Reviewed-on: https://code.rocketnine.space/tslocum/cview/pulls/78
2021-10-04 20:04:42 -07:00
b2661d1e10 Add missing ansi translations
Without these, the styles are not properly applied
2021-10-02 23:45:30 -04:00
be22f3b33c Release v1.5.7 2021-09-01 09:17:54 -07:00
a366ccc260 runewidth: Create lookup table
See the following pull request for more information.

https://github.com/mattn/go-runewidth/pull/54
2021-08-31 08:47:28 -07:00
be5c1fcafd Draw application after updating root primitive via Application.SetRoot
Resolves #77.
2021-08-08 17:30:29 -07:00
4616c03bbe Fix Application.QueueEvent
Resolves #76.
2021-08-08 17:16:10 -07:00
492ab21896 Add Application.HandlePanic
Resolves #74.
2021-08-03 13:20:44 -07:00
6758d2a787 Document WordWrap bug 2021-08-02 12:59:40 -07:00
b4beaaeff9 Document TextView region tag fix 2021-08-02 11:27:18 -07:00
Oliver
6f90b4422c Fixed missed tag at EOL in TextView
This fix was cherry-picked and adapted from tview commit
ba9f3a6fa19d4eb2cebed6c256523ff90faa0bbb

Resolves #73.
2021-08-02 11:22:20 -07:00
605d0123c1 Add Modal.SetButtonsAlign and Modal.SetTextAlign
Also, do not customize Modal window styling by default. Use GetForm and GetFrame to customize.

Resolves #71.
2021-07-17 12:52:49 -07:00
3b49c99661 Add Application.Draw change to FORK.md 2021-07-17 11:43:54 -07:00
f794cceb95 Fix TextView.GetRegionText error when text contains color tags
Resolves #69.
2021-07-12 13:21:32 -07:00
9c993d8c7e Release v1.5.6 2021-07-08 18:19:26 -07:00
78d52f46d0 Fix drawing InputField cursor outside of the field 2021-07-08 17:35:19 -07:00
a989031127 Fix passing mouse events to Grid items
Events are now only passed to the item under the mouse.
2021-07-05 17:51:57 -07:00
964fd51438 Add TextView.SetVerticalAlign
Resolves #68.
2021-07-05 12:52:52 -07:00
7b45918cfa Fix TextView always visible scroll bar not appearing when empty 2021-07-05 11:23:28 -07:00
c25dbea325 Fill empty space in Flex with invisible Box
Resolves #64.
2021-07-04 01:30:23 -07:00
f4658c6cc6 Add TabbedPanels to doc.go 2021-07-04 01:09:44 -07:00
652afb9875 Update Application.QueueUpdateDraw to accept one or more primitives to draw instead of the whole screen 2021-06-06 20:44:56 -07:00
ca75748dff Update Application.Draw to accept one or more primitives to draw instead of the whole screen 2021-06-06 20:35:05 -07:00
b9d448d0f4 Improve Button cursor positioning 2021-06-05 11:00:31 -07:00
454d759a42 Add Button.SetCursorRune and CheckBox.SetCursorRune
Cursors are now shown within Buttons and CheckBoxes by default.

Resolves #62.
2021-06-05 10:24:43 -07:00
71e3cc57f7 Add relevant info to pages of the presentation demo
Also, only draw DropDown symbols when focused by default.

Resolves #61.
2021-06-04 20:42:44 -07:00
d11681497c Change default colors (fields and buttons are now green) 2021-06-03 20:41:09 -07:00
f8d1b2c63c Change default colors
Focused buttons and fields are now blue.
2021-05-30 21:05:31 -07:00
011f4decc0 Add TextView highlight color options 2021-05-30 18:17:17 -07:00
7e8817f20b Fix highlighting current TabbedPanels tab
Relates to #54.
2021-05-30 10:54:04 -07:00
29170b8453 Add TrueColorTags option
This controls whether color tags should render as the specific colors
defined by tcell, or as the colors defined by the user's terminal
configuration (the default).

Relates to #48.
2021-05-26 13:05:16 -07:00
bd144c2430 Allow specifying TabbedPanels switcher height
Resolves #54.
2021-05-25 13:09:56 -07:00
92dca67ac2 Fix resetting background color via '-'
The primitive background color is now used, rather than the terminal background color.

Resolves #47.
2021-05-25 12:45:31 -07:00
919f229dcc Update List, Table and TreeView to not handle Tab or Backtab 2021-05-25 09:04:35 -07:00
3581fe03ea Draw additional accents when rendering a list divider 2021-05-25 08:53:29 -07:00
957459b436 Update dependencies 2021-05-24 02:01:49 -07:00
bf491e965f Update dependencies
Resolves #58.
2021-05-18 17:51:23 -07:00
1653d59d6b Restructure event loop to only poll screen between updates
Relates to #58.
2021-04-24 23:08:49 -07:00
9dbc4a3a03 Suspend screen rather than finalizing it and then creating a new screen
Relates to #58.
2021-04-23 09:47:33 -07:00
e8e2d12710 Remove code.rocketnine.space migration notice 2021-04-03 08:16:36 -07:00
41e35f8d69 Add code.rocketnine.space migration notice 2021-04-03 08:11:20 -07:00
bb362496b2 Fix TextView.GetTextDimensions 2021-04-01 17:35:06 -07:00
2d7324e8db Rename TextDimensions as GetBufferSize 2021-03-27 14:42:12 -07:00
29e91c0bc5 Merge branch 'master' into 'master'
Add TextDimensions

See merge request tslocum/cview!14
2021-03-27 21:26:44 +00:00
17ca6d403b Read (un)lock mutex instead 2021-03-10 19:05:04 -05:00
c74ebf1471 Add TextDimensions 2021-02-27 21:11:09 -05:00
d776e728ef Fix strikethrough support
Resolves #17.
2021-02-06 20:50:10 -08:00
630bdf19f3 Release v1.5.3 2021-01-14 08:51:29 -08:00
fe5cf58941 Update dependency runewidth 2021-01-11 14:20:10 -08:00