Trevor Slocum
d5de9a7b0a
Fix DropDown.SetCurrentOption Unlock of unlocked RWMutex panic
2023-09-11 19:50:26 -07:00
Trevor Slocum
51da14062c
Update CHANGELOG
2022-08-01 13:23:40 -07:00
Trevor Slocum
c1ab34fb2d
Update README
2022-08-01 13:21:03 -07:00
tslocum
bf436cfdb0
Merge pull request 'Update to tcell v2.5.2' ( #90 ) from gdamore/cview:tcell252 into master
...
Reviewed-on: https://code.rocketnine.space/tslocum/cview/pulls/90
2022-08-01 13:11:20 -07:00
tslocum
c7cb05912a
Merge pull request 'Improved drop down list usability.' ( #89 ) from gdamore/cview:dropdown into master
...
Reviewed-on: https://code.rocketnine.space/tslocum/cview/pulls/89
2022-08-01 13:09:56 -07:00
Garrett D'Amore
07da478daf
Update to tcell v2.5.2
2022-07-30 18:08:42 -07:00
Garrett D'Amore
7fbbefd986
Improved drop down list usability.
2022-07-29 19:10:30 -07:00
Trevor Slocum
c2f9074643
Add TabbedPanels.SetChangedFunc
...
Resolves #80 .
2021-11-12 15:18:03 -08:00
Trevor Slocum
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
Sean Smith
b2661d1e10
Add missing ansi translations
...
Without these, the styles are not properly applied
2021-10-02 23:45:30 -04:00
Trevor Slocum
be22f3b33c
Release v1.5.7
2021-09-01 09:17:54 -07:00
Trevor Slocum
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
Trevor Slocum
be5c1fcafd
Draw application after updating root primitive via Application.SetRoot
...
Resolves #77 .
2021-08-08 17:30:29 -07:00
Trevor Slocum
4616c03bbe
Fix Application.QueueEvent
...
Resolves #76 .
2021-08-08 17:16:10 -07:00
Trevor Slocum
492ab21896
Add Application.HandlePanic
...
Resolves #74 .
2021-08-03 13:20:44 -07:00
Trevor Slocum
6758d2a787
Document WordWrap bug
2021-08-02 12:59:40 -07:00
Trevor Slocum
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
Trevor Slocum
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
Trevor Slocum
3b49c99661
Add Application.Draw change to FORK.md
2021-07-17 11:43:54 -07:00
Trevor Slocum
f794cceb95
Fix TextView.GetRegionText error when text contains color tags
...
Resolves #69 .
2021-07-12 13:21:32 -07:00
Trevor Slocum
9c993d8c7e
Release v1.5.6
2021-07-08 18:19:26 -07:00
Trevor Slocum
78d52f46d0
Fix drawing InputField cursor outside of the field
2021-07-08 17:35:19 -07:00
Trevor Slocum
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
Trevor Slocum
964fd51438
Add TextView.SetVerticalAlign
...
Resolves #68 .
2021-07-05 12:52:52 -07:00
Trevor Slocum
7b45918cfa
Fix TextView always visible scroll bar not appearing when empty
2021-07-05 11:23:28 -07:00
Trevor Slocum
c25dbea325
Fill empty space in Flex with invisible Box
...
Resolves #64 .
2021-07-04 01:30:23 -07:00
Trevor Slocum
f4658c6cc6
Add TabbedPanels to doc.go
2021-07-04 01:09:44 -07:00
Trevor Slocum
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
Trevor Slocum
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
Trevor Slocum
b9d448d0f4
Improve Button cursor positioning
2021-06-05 11:00:31 -07:00
Trevor Slocum
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
Trevor Slocum
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
Trevor Slocum
d11681497c
Change default colors (fields and buttons are now green)
2021-06-03 20:41:09 -07:00
Trevor Slocum
f8d1b2c63c
Change default colors
...
Focused buttons and fields are now blue.
2021-05-30 21:05:31 -07:00
Trevor Slocum
011f4decc0
Add TextView highlight color options
2021-05-30 18:17:17 -07:00
Trevor Slocum
7e8817f20b
Fix highlighting current TabbedPanels tab
...
Relates to #54 .
2021-05-30 10:54:04 -07:00
Trevor Slocum
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
Trevor Slocum
bd144c2430
Allow specifying TabbedPanels switcher height
...
Resolves #54 .
2021-05-25 13:09:56 -07:00
Trevor Slocum
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
Trevor Slocum
919f229dcc
Update List, Table and TreeView to not handle Tab or Backtab
2021-05-25 09:04:35 -07:00
Trevor Slocum
3581fe03ea
Draw additional accents when rendering a list divider
2021-05-25 08:53:29 -07:00
Trevor Slocum
957459b436
Update dependencies
2021-05-24 02:01:49 -07:00
Trevor Slocum
bf491e965f
Update dependencies
...
Resolves #58 .
2021-05-18 17:51:23 -07:00
Trevor Slocum
1653d59d6b
Restructure event loop to only poll screen between updates
...
Relates to #58 .
2021-04-24 23:08:49 -07:00
Trevor Slocum
9dbc4a3a03
Suspend screen rather than finalizing it and then creating a new screen
...
Relates to #58 .
2021-04-23 09:47:33 -07:00
Trevor Slocum
e8e2d12710
Remove code.rocketnine.space migration notice
2021-04-03 08:16:36 -07:00
Trevor Slocum
41e35f8d69
Add code.rocketnine.space migration notice
2021-04-03 08:11:20 -07:00
Trevor Slocum
bb362496b2
Fix TextView.GetTextDimensions
2021-04-01 17:35:06 -07:00