2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-07 03:20:39 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Oliver
b4fd66d458 Fixed style calculation in TextView which led to unwanted artefacts when the default terminal background color was not black. Fixes #91 2018-04-07 13:28:32 +02:00
Oliver
83d0a16fb2 Added background colors and text attributes to color tags. Resolves #91 2018-04-01 21:19:10 +02:00
Oliver
761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver
91a6ff44b6 Finished implementation of grid layout. 2018-02-20 11:19:30 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
13cf1c1ee4 Added a way to output tags as cleartext in TextView even if dynamic colors or regions are enabled. 2018-01-17 10:09:09 +01:00
Oliver
626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00
Oliver
8bc6a3f684 Minor additions to pull request #30. Resolves #28. 2018-01-14 13:35:57 +01:00
rivo
f26cdc84a2
Merge pull request #30 from maja42/TextViewScrolling
Thanks. I will make some modifications to this. You might want to check them out.
2018-01-14 13:32:08 +01:00
Jakob Maier
3442b13a04 Added ScrollToBeginning() and ScrollToEnd() to TextView 2018-01-14 11:36:27 +01:00
Oliver
1e78c506cb Rewrote TextView's reindex() and Draw() to introduce text alignment and
word wrapping
2018-01-13 23:13:21 +01:00
Oliver
0c4fd605ae Fixed wrong TextView handling of tabs (and other runes without a width). 2018-01-12 13:25:30 +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
rivo
fee6bd1ef9
Merge pull request #3 from ss18/typo
scollable -> scrollable, thanks!
2018-01-10 10:53:49 +01:00
Oliver
2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Semen Zhydenko
21a909f91c scollable -> scrollable 2018-01-10 09:38:18 +01:00
Oliver
e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 2018-01-07 16:39:06 +01:00
Oliver
7a69902269 Non-scrollable text views must track end. 2017-12-30 22:09:36 +01:00
Oliver
42fa258a5e Added more colors to the text view. 2017-12-29 18:50:46 +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
f5788cfc52 Added regions and highlights to TextView. 2017-12-24 00:08:52 +01:00
Oliver
8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 2017-12-21 18:08:53 +01:00