Commit Graph

47 Commits

Author SHA1 Message Date
Oliver 5508f4b002 Added italics and strikethrough to style attributes. Resolves #457 2021-10-01 12:26:48 +02:00
Oliver ae9464cc35 Upgraded printing and style handling to the new definition of tcell.ColorDefault. 2021-03-12 18:48:52 +01:00
Oliver dfabe788d4 Allowing list items to shift horizontally. Resolves #512, fixes #513 2021-02-15 18:26:27 +01:00
Oliver 745e4ceeb7 Upgraded to latest tcell which uses latest go-runewidth which uses uniseg for improved Unicode handling. Resolves #548 2021-01-17 17:24:20 +01:00
Oliver e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 2020-10-18 14:15:57 +02:00
Oliver 42866ecf6c Selected autocomplete items should be used without colour tags. Fixes #472 2020-09-15 13:45:12 +02:00
Oliver d465381941 Bugfix in string decomposition: Escape sequences cannot be handled after the fact. Fixes #448 2020-05-28 10:36:26 +02:00
Oliver ba670d23ba The inner area of a Box does not clamp to screen borders anymore. Consequently added some drawing optimization to primitives. Resolves #405 2020-02-19 18:31:32 +01:00
Oliver 1316ea7a4b ANSI parser now also handles SGR 39 and 49. Fixes #347 2020-01-08 17:16:08 +01:00
Oliver c0e09651e4 More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295 2019-07-05 11:49:22 +01:00
Oliver 17ae691817 Reimplemented the WordWrap() function. Fixes #251 2019-06-29 20:45:09 +01:00
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver 2cc825800b Switched string iteration to using the github.com/rivo/uniseg package. 2019-03-14 12:47:53 +01:00
Oliver 3548dec808 Fixed a bug where neighbouring colour tags were processed incorrectly. Fixes #241 2019-03-09 12:33:12 +01:00
Oliver a45c8edf60 Fixed region/color tag escaping bug. Fixes #234 2019-02-13 16:07:01 +01:00
Oliver e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 2018-12-25 18:55:57 +01:00
Oliver f1536e67fa github.com/mattn/go-runewidth supports zero-width joiners now. 2018-11-19 10:59:27 +01:00
Oliver d53a7c24fd WordWrap() also uses iterator function now. 2018-10-17 17:41:00 +02:00
Oliver d76484006e Another rewrite of the Print() function. Uses iterator callbacks now. 2018-10-17 07:36:54 +02:00
Oliver bc39bf8d24 Bugfixes related to zero-width joiners. 2018-09-26 12:03:53 +02:00
Oliver 29458dad3e Added support for zero-width joiners. Resolves #161 2018-09-25 17:31:49 +02:00
Oliver 4631cd7337 Added the tree view. 2018-06-20 10:06:05 +02:00
Benjamin Weidig 7ad390eb5e Removed deprecated funcs/const related to semigraphic changes 2018-06-09 14:58:29 +02:00
Benjamin Weidig b6cd5e5021 added comment to semigraphic related code 2018-06-09 14:58:29 +02:00
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.
2018-06-09 14:58:29 +02:00
Benjamin Weidig 76fdcb42e9 fix borders and add unicode comment 2018-06-09 14:58:29 +02:00
Oliver 0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 2018-06-09 13:16:20 +02:00
Oliver 7afc7ac893 Index out of range bugfix. Fixes #101 2018-05-18 23:46:33 +02:00
Oliver 213c37c368 Fixed handling of combining unicode characters. Fixes #101 2018-05-03 08:05:11 +02:00
Oliver 911fb9543e Added Escape(), ANSIIWriter(), and TranslateANSII(). Resolves #84, resolves #24 2018-04-14 00:05:25 +02:00
Oliver 96473a04c6 Added Escape() function. Resolves #84 2018-04-12 13:09:06 +02:00
Oliver 83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver a3971dc430 Rewrote WordWrap() function due to bugs. 2018-03-04 15:01:12 +01:00
Oliver 1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 2018-02-20 17:15:42 +01:00
Oliver 91a6ff44b6 Finished implementation of grid layout. 2018-02-20 11:19:30 +01:00
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver d74b71b48d Supporting any color now in TextView. Resolves #12 2018-01-12 09:09:01 +01:00
Oliver 5f33d0cbc0 Some adaptations for 32-bit systems. Resolves #17 2018-01-12 08:35:30 +01:00
Oliver 61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 2018-01-11 15:45:52 +01:00
Oliver 2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Oliver c989300073 Final preparations for the first official release. 2018-01-06 22:49:12 +01:00
Oliver aa93dab30d Clamping column offset in text view. 2017-12-29 18:45:52 +01:00
Oliver 3670319cd6 Fixed a number of bugs and added missing useful functions. 2017-12-27 16:04:21 +01:00
Oliver 8f59d491ee Added Table primitive. Still ironing out some minor issues. 2017-12-26 01:07:30 +01:00
Oliver dad7891c89 Added Checkbox, Modal, and Pages. 2017-12-20 20:54:49 +01:00
Oliver d5bf1a4ef0 Added list, improved existing primitives, and fixed a bunch of bugs. 2017-12-16 22:48:26 +01:00
Oliver b83a7766a6 Added frames (with headers/footers) and buttons. Extended form. 2017-12-15 23:03:01 +01:00