Commit Graph

623 Commits (compact_list)
 

Author SHA1 Message Date
Ian C 28827c1146 add compact flag
Add an option to render the list compactly (without blank lines between `ListItem`s). This flag will be ignored if `showSecondaryText` is set to true.
1 year ago
Trevor Slocum c2f9074643 Add TabbedPanels.SetChangedFunc
Resolves #80.
2 years ago
Trevor Slocum b19f5402ae Document ANSI translation fix 2 years ago
tslocum 10ad6ee7dd Merge pull request 'Add missing ansi translations' (#78) from Seanstoppable/cview:addmissingansitranslations into master
Reviewed-on: tslocum/cview#78
2 years ago
Sean Smith b2661d1e10 Add missing ansi translations
Without these, the styles are not properly applied
2 years ago
Trevor Slocum be22f3b33c Release v1.5.7 2 years ago
Trevor Slocum a366ccc260 runewidth: Create lookup table
See the following pull request for more information.

https://github.com/mattn/go-runewidth/pull/54
2 years ago
Trevor Slocum be5c1fcafd Draw application after updating root primitive via Application.SetRoot
Resolves #77.
2 years ago
Trevor Slocum 4616c03bbe Fix Application.QueueEvent
Resolves #76.
2 years ago
Trevor Slocum 492ab21896 Add Application.HandlePanic
Resolves #74.
2 years ago
Trevor Slocum 6758d2a787 Document WordWrap bug 2 years ago
Trevor Slocum b4beaaeff9 Document TextView region tag fix 2 years ago
Oliver 6f90b4422c Fixed missed tag at EOL in TextView
This fix was cherry-picked and adapted from tview commit
ba9f3a6fa19d4eb2cebed6c256523ff90faa0bbb

Resolves #73.
2 years ago
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.
2 years ago
Trevor Slocum 3b49c99661 Add Application.Draw change to FORK.md 2 years ago
Trevor Slocum f794cceb95 Fix TextView.GetRegionText error when text contains color tags
Resolves #69.
2 years ago
Trevor Slocum 9c993d8c7e Release v1.5.6 2 years ago
Trevor Slocum 78d52f46d0 Fix drawing InputField cursor outside of the field 2 years ago
Trevor Slocum a989031127 Fix passing mouse events to Grid items
Events are now only passed to the item under the mouse.
2 years ago
Trevor Slocum 964fd51438 Add TextView.SetVerticalAlign
Resolves #68.
2 years ago
Trevor Slocum 7b45918cfa Fix TextView always visible scroll bar not appearing when empty 2 years ago
Trevor Slocum c25dbea325 Fill empty space in Flex with invisible Box
Resolves #64.
2 years ago
Trevor Slocum f4658c6cc6 Add TabbedPanels to doc.go 2 years ago
Trevor Slocum 652afb9875 Update Application.QueueUpdateDraw to accept one or more primitives to draw instead of the whole screen 2 years ago
Trevor Slocum ca75748dff Update Application.Draw to accept one or more primitives to draw instead of the whole screen 2 years ago
Trevor Slocum b9d448d0f4 Improve Button cursor positioning 2 years ago
Trevor Slocum 454d759a42 Add Button.SetCursorRune and CheckBox.SetCursorRune
Cursors are now shown within Buttons and CheckBoxes by default.

Resolves #62.
2 years ago
Trevor Slocum 71e3cc57f7 Add relevant info to pages of the presentation demo
Also, only draw DropDown symbols when focused by default.

Resolves #61.
2 years ago
Trevor Slocum d11681497c Change default colors (fields and buttons are now green) 2 years ago
Trevor Slocum f8d1b2c63c Change default colors
Focused buttons and fields are now blue.
2 years ago
Trevor Slocum 011f4decc0 Add TextView highlight color options 2 years ago
Trevor Slocum 7e8817f20b Fix highlighting current TabbedPanels tab
Relates to #54.
2 years ago
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.
2 years ago
Trevor Slocum bd144c2430 Allow specifying TabbedPanels switcher height
Resolves #54.
2 years ago
Trevor Slocum 92dca67ac2 Fix resetting background color via '-'
The primitive background color is now used, rather than the terminal background color.

Resolves #47.
2 years ago
Trevor Slocum 919f229dcc Update List, Table and TreeView to not handle Tab or Backtab 2 years ago
Trevor Slocum 3581fe03ea Draw additional accents when rendering a list divider 2 years ago
Trevor Slocum 957459b436 Update dependencies 2 years ago
Trevor Slocum bf491e965f Update dependencies
Resolves #58.
2 years ago
Trevor Slocum 1653d59d6b Restructure event loop to only poll screen between updates
Relates to #58.
2 years ago
Trevor Slocum 9dbc4a3a03 Suspend screen rather than finalizing it and then creating a new screen
Relates to #58.
2 years ago
Trevor Slocum e8e2d12710 Remove code.rocketnine.space migration notice 2 years ago
Trevor Slocum 41e35f8d69 Add code.rocketnine.space migration notice 2 years ago
Trevor Slocum bb362496b2 Fix TextView.GetTextDimensions 2 years ago
Trevor Slocum 2d7324e8db Rename TextDimensions as GetBufferSize 2 years ago
Trevor Slocum 29e91c0bc5 Merge branch 'master' into 'master'
Add TextDimensions

See merge request tslocum/cview!14
2 years ago
makeworld 17ca6d403b Read (un)lock mutex instead 2 years ago
makeworld c74ebf1471 Add TextDimensions 2 years ago
Trevor Slocum d776e728ef Fix strikethrough support
Resolves #17.
2 years ago
Trevor Slocum 630bdf19f3 Release v1.5.3 2 years ago