Commit Graph

39 Commits (fe3052019536251fd145835dbaa225b33b7d3088)

Author SHA1 Message Date
Oliver 1316ea7a4b ANSI parser now also handles SGR 39 and 49. Fixes #347 5 years ago
Oliver c0e09651e4 More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295 5 years ago
Oliver 17ae691817 Reimplemented the WordWrap() function. Fixes #251 5 years ago
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 5 years ago
Oliver 2cc825800b Switched string iteration to using the github.com/rivo/uniseg package. 5 years ago
Oliver 3548dec808 Fixed a bug where neighbouring colour tags were processed incorrectly. Fixes #241 5 years ago
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 5 years ago
Oliver e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 6 years ago
Oliver f1536e67fa github.com/mattn/go-runewidth supports zero-width joiners now. 6 years ago
Oliver d53a7c24fd WordWrap() also uses iterator function now. 6 years ago
Oliver d76484006e Another rewrite of the Print() function. Uses iterator callbacks now. 6 years ago
Oliver bc39bf8d24 Bugfixes related to zero-width joiners. 6 years ago
Oliver 29458dad3e Added support for zero-width joiners. Resolves #161 6 years ago
Oliver 4631cd7337 Added the tree view. 6 years ago
Benjamin Weidig 7ad390eb5e Removed deprecated funcs/const related to semigraphic changes 6 years ago
Benjamin Weidig b6cd5e5021 added comment to semigraphic related code 6 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.
6 years ago
Benjamin Weidig 76fdcb42e9 fix borders and add unicode comment 6 years ago
Oliver 0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 6 years ago
Oliver 7afc7ac893 Index out of range bugfix. Fixes #101 6 years ago
Oliver 213c37c368 Fixed handling of combining unicode characters. Fixes #101 6 years ago
Oliver 911fb9543e Added Escape(), ANSIIWriter(), and TranslateANSII(). Resolves #84, resolves #24 6 years ago
Oliver 96473a04c6 Added Escape() function. Resolves #84 6 years ago
Oliver 83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 6 years ago
Oliver a3971dc430 Rewrote WordWrap() function due to bugs. 6 years ago
Oliver 1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 6 years ago
Oliver 91a6ff44b6 Finished implementation of grid layout. 6 years ago
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 7 years ago
Oliver d74b71b48d Supporting any color now in TextView. Resolves #12 7 years ago
Oliver 5f33d0cbc0 Some adaptations for 32-bit systems. Resolves #17 7 years ago
Oliver 61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 7 years ago
Oliver 2874294d89 Added Styles variable with default colors for primitives. 7 years ago
Oliver c989300073 Final preparations for the first official release. 7 years ago
Oliver aa93dab30d Clamping column offset in text view. 7 years ago
Oliver 3670319cd6 Fixed a number of bugs and added missing useful functions. 7 years ago
Oliver 8f59d491ee Added Table primitive. Still ironing out some minor issues. 7 years ago
Oliver dad7891c89 Added Checkbox, Modal, and Pages. 7 years ago
Oliver d5bf1a4ef0 Added list, improved existing primitives, and fixed a bunch of bugs. 7 years ago
Oliver b83a7766a6 Added frames (with headers/footers) and buttons. Extended form. 7 years ago