1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-27 13:48:49 +08:00

10 Commits

Author SHA1 Message Date
Jakub Sobon
8a1bb34b05
Generalized text trimming logic.
So it can be reused in widgets.

Also adding some missing default values for options.
2018-05-27 19:28:49 +01:00
Jakub Sobon
c2dab55b50
The draw package now supports full-width runes. 2018-05-20 22:50:57 +01:00
Jakub Sobon
b98013ea45
Removing commit that doesn't belong to this history. 2018-05-14 22:32:07 +01:00
Jakub Sobon
a824210882
Defining options for the text widget. 2018-05-14 22:07:04 +01:00
Jakub Sobon
b4b1d8b2a6
Border now supports a title.
Updates #22.
2018-05-07 18:32:41 +01:00
Jakub Sobon
88fc5b2782
Unifying the last API in the draw package.
Fixes #23.
2018-05-07 16:50:27 +01:00
Jakub Sobon
2473cd46d6
A function that draws a rectangle.
Also:
- implementing text trimming and wrapping.
- Switching log.Fatalf to panic() for more understandable test errors.
2018-05-06 19:28:52 +01:00
Jakub Sobon
2cd3343c81 Adding licences and a script to automate the same. 2018-04-14 23:06:57 +01:00
Jakub Sobon
5c32ca7f7f
Support for keyboard, mouse, widget options and alignment. 2018-04-09 03:17:40 +01:00
Jakub Sobon
0bbb28d13d
Adding a fake widget. 2018-04-07 14:24:55 +02:00