Commit Graph

63 Commits (62c72894491466ac911d01e16afd65458bdad26b)

Author SHA1 Message Date
Trevor Slocum fdb055d99b Generalize tag stripping as StripTags 3 years ago
Trevor Slocum c326cc4c16 Support custom TabbedPanels tab styling 3 years ago
Trevor Slocum c3391c3c3b Make printWithStyle public and rename as PrintStyle 3 years ago
Trevor Slocum a3a0d67f65 Fix WordWrap bounds out of range
Resolves #27.
3 years ago
Trevor Slocum 298510a685 Revert WordWrap signature change
Resolves #40.
3 years ago
Trevor Slocum 2763609e05 Store InputField text data as []byte instead of string 3 years ago
Trevor Slocum 6b34a95e75 Print text using []byte instead of string, calculate string width using runewidth instead of uniseg 3 years ago
Trevor Slocum 357a49e9e7 Do not set focus-related style attributes by default 3 years ago
Trevor Slocum 2ebdbde722 Update strikethrough implementation 3 years ago
Trevor Slocum a6258efb39 Expose strikethrough support
Resolves #17.
3 years ago
Trevor Slocum 8292f9baf2 Upgrade tcell to v2
Resolves #32.
3 years ago
Trevor Slocum 1d976945dc Add italic text formatting flag 3 years ago
Trevor Slocum b65f57f2fc Rename matchesKeys to HitShortcut 3 years ago
Trevor Slocum 91afabde29 Allow multiple sets of keybindings to be provided to matchesKeys 3 years ago
Trevor Slocum 04a0149298 Add Keys to allow default keybindings to be modified 3 years ago
Trevor Slocum 1213cd5891 Fix scroll bar background color 3 years ago
Trevor Slocum e00b7a3984 Add TreeView.Transform 3 years ago
Trevor Slocum 74844d6d3f Fix applying ScrollBarAlways to List 3 years ago
Trevor Slocum c6f9bcda29 Add option to always show scroll bar 3 years ago
Trevor Slocum 96f3c15040 Add scroll bar to List, DropDown, Table and TreeView 3 years ago
Oliver a5d5a39c38 ANSI parser now also handles SGR 39 and 49. Fixes #347 3 years ago
Trevor Slocum 7c849dd501 Update dependencies 3 years ago
diamondburned (Forefront) 3d7e978b90 Fixed TextView's reset [-] setting the wrong color 3 years ago
Trevor Slocum 384d842226 runewidth: Disable East Asian width 3 years ago
Trevor Slocum b61132eddf Fork tview as cview
See FORK.md for details
3 years ago
Oliver c0e09651e4 More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295 4 years ago
Oliver 17ae691817 Reimplemented the WordWrap() function. Fixes #251 4 years ago
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 4 years ago
Oliver 2cc825800b Switched string iteration to using the github.com/rivo/uniseg package. 4 years ago
Oliver 3548dec808 Fixed a bug where neighbouring colour tags were processed incorrectly. Fixes #241 4 years ago
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 4 years ago
Oliver e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 4 years ago
Oliver f1536e67fa github.com/mattn/go-runewidth supports zero-width joiners now. 5 years ago
Oliver d53a7c24fd WordWrap() also uses iterator function now. 5 years ago
Oliver d76484006e Another rewrite of the Print() function. Uses iterator callbacks now. 5 years ago
Oliver bc39bf8d24 Bugfixes related to zero-width joiners. 5 years ago
Oliver 29458dad3e Added support for zero-width joiners. Resolves #161 5 years ago
Oliver 4631cd7337 Added the tree view. 5 years ago
Benjamin Weidig 7ad390eb5e Removed deprecated funcs/const related to semigraphic changes 5 years ago
Benjamin Weidig b6cd5e5021 added comment to semigraphic related code 5 years ago
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.
5 years ago
Benjamin Weidig 76fdcb42e9 fix borders and add unicode comment 5 years ago
Oliver 0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 5 years ago
Oliver 7afc7ac893 Index out of range bugfix. Fixes #101 5 years ago
Oliver 213c37c368 Fixed handling of combining unicode characters. Fixes #101 5 years ago
Oliver 911fb9543e Added Escape(), ANSIIWriter(), and TranslateANSII(). Resolves #84, resolves #24 5 years ago
Oliver 96473a04c6 Added Escape() function. Resolves #84 5 years ago
Oliver 83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 5 years ago
Oliver a3971dc430 Rewrote WordWrap() function due to bugs. 5 years ago
Oliver 1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 5 years ago