Christian Rocha
|
a47a89f4ae
|
Remove setting for underlining and striking whitespace
|
2021-03-26 10:36:23 -04:00 |
|
Christian Rocha
|
a3ab90a71c
|
Remove setting for not drawing trailing spaces
|
2021-03-26 09:30:54 -04:00 |
|
Christian Rocha
|
7739cea82a
|
Apply border after adding padding
|
2021-03-25 21:56:41 -04:00 |
|
Christian Rocha
|
d7bd9ebc4f
|
Borders are back
|
2021-03-25 20:43:40 -04:00 |
|
Christian Rocha
|
8d5c0823f8
|
Don't add a new line after the last line when joining horizontally
|
2021-03-25 19:05:54 -04:00 |
|
Christian Rocha
|
e260c72ca6
|
Adjust README copy about color conversion
|
2021-03-25 09:19:04 -04:00 |
|
Christian Rocha
|
ae5db7b9f8
|
Fix rendering when horizontally joining a block with a height of 2
|
2021-03-24 21:31:57 -04:00 |
|
Christian Rocha
|
56a9250443
|
Fix panics when attemping to join one single string
|
2021-03-24 21:20:38 -04:00 |
|
Christian Rocha
|
5a330d1ea7
|
Keep our integers above zero (let's not move to uints just yet)
|
2021-03-24 17:29:01 -04:00 |
|
Christian Rocha
|
642c2c5310
|
Set width and alignment on single lines too
|
2021-03-24 16:42:34 -04:00 |
|
Christian Rocha
|
942108239f
|
Width enforces a minimum width
|
2021-03-24 16:34:03 -04:00 |
|
Christian Rocha
|
c9fa4cd62e
|
Make margin setters match CSS naming
|
2021-03-24 16:31:35 -04:00 |
|
Christian Rocha
|
7b5208a1cd
|
Add Height and MaxHeight properties
|
2021-03-24 14:42:45 -04:00 |
|
Christian Rocha
|
acd9df30a7
|
Change margin and padding APIs to closer match CSS
|
2021-03-24 13:55:43 -04:00 |
|
Christian Rocha
|
f56620c06b
|
Reverse also reverses padding
|
2021-03-24 13:50:07 -04:00 |
|
Christian Rocha
|
143b345c10
|
Add unsetter for the underlying string value
|
2021-03-24 12:59:09 -04:00 |
|
Christian Rocha
|
e2156d6854
|
Copy() also copies the underlying string value
|
2021-03-24 12:58:56 -04:00 |
|
Christian Rocha
|
670f0d0d2d
|
Correct and extend join examples in README
|
2021-03-19 11:33:52 -04:00 |
|
Christian Muehlhaeuser
|
24fb120f9e
|
Bump termenv to v0.8.0
|
2021-03-18 23:58:06 +01:00 |
|
Christian Rocha
|
7481f05486
|
Corrections to Join GoDocs
|
2021-03-18 16:59:48 -04:00 |
|
Christian Rocha
|
ca0afc03da
|
Add join example and note about Glamour to README
|
2021-03-18 15:03:11 -04:00 |
|
Christian Rocha
|
a1f7fa9165
|
Expose the color profile Termenv detected
|
2021-03-18 14:52:44 -04:00 |
|
Christian Rocha
|
552799ac29
|
Improve NoColor primative
|
2021-03-18 14:34:39 -04:00 |
|
Christian Rocha
|
1498fd3b6b
|
Simplify joining API
|
2021-03-18 14:14:35 -04:00 |
|
Christian Rocha
|
52b15b9469
|
Further README corrections
|
2021-03-18 13:59:27 -04:00 |
|
Christian Rocha
|
dc9898905f
|
GoDoc improvements
|
2021-03-18 13:29:48 -04:00 |
|
Christian Rocha
|
52c837e21f
|
More README corrections and improvements
|
2021-03-18 13:29:03 -04:00 |
|
Christian Rocha
|
d133354735
|
You can just iterate over a string to get the runes
|
2021-03-18 12:40:33 -04:00 |
|
Christian Rocha
|
da5b337b1f
|
Drop an unused function
|
2021-03-18 12:40:33 -04:00 |
|
Christian Rocha
|
daf723aaa8
|
Add badges
|
2021-03-18 12:40:33 -04:00 |
|
Christian Muehlhaeuser
|
08a637779a
|
Add GitHub workflows
|
2021-03-18 17:31:07 +01:00 |
|
Christian Rocha
|
2891ec0d5b
|
First pass at a README and user guide
|
2021-03-18 11:54:27 -04:00 |
|
Christian Rocha
|
30078aa5a9
|
Rework horizontal and vertical joins
|
2021-03-17 22:13:43 -04:00 |
|
Christian Rocha
|
0732c59a2e
|
Improve some GoDocs
|
2021-03-17 20:29:18 -04:00 |
|
Christian Rocha
|
8348e40ab0
|
What the heck, add aligned vertical joins too
|
2021-03-17 20:28:59 -04:00 |
|
Christian Rocha
|
6aed53fa1c
|
Join an infinite number of text blocks
|
2021-03-17 16:25:37 -04:00 |
|
Christian Rocha
|
75544a8aac
|
Add utility for horizontally joining text blocks
|
2021-03-17 16:24:25 -04:00 |
|
Christian Rocha
|
6bfa4297a0
|
Style.Inline and Style.MaxWidth no longer mutate the style
|
2021-03-17 14:27:09 -04:00 |
|
Christian Rocha
|
303947c10c
|
Implement the Stringer interface for the Style type
|
2021-03-17 14:27:09 -04:00 |
|
Christian Rocha
|
48b02286d8
|
Clothe the returns, such that they will no longer be naked
|
2021-03-12 12:31:42 -05:00 |
|
Christian Rocha
|
cbe446f299
|
GoDocs and GoDoc spelling corrections
|
2021-03-10 10:21:21 -05:00 |
|
Christian Rocha
|
228d50837b
|
Switch to a map-based implementation to make things less complicated
|
2021-03-08 09:00:42 -05:00 |
|
Christian Rocha
|
114db95319
|
Add a method for copying styles
|
2021-03-05 19:25:58 -05:00 |
|
Christian Rocha
|
5f87efafcb
|
Copy values when inheriting
|
2021-03-05 19:02:52 -05:00 |
|
Christian Rocha
|
a6cd289e04
|
Don't inherit margins and columns
|
2021-03-05 18:32:28 -05:00 |
|
Christian Rocha
|
dc10fc06a3
|
Remove a silly function
|
2021-03-05 17:58:50 -05:00 |
|
Christian Rocha
|
53b7cb3cdb
|
Rules for underlines/strikethroughs relating to spaces between words
|
2021-03-05 16:34:46 -05:00 |
|
Christian Rocha
|
60ab44f0f6
|
Whitespace can be stricken and underlined independently
|
2021-03-05 12:47:41 -05:00 |
|
Christian Rocha
|
4665de69d0
|
Rework renderer
|
2021-03-05 12:43:51 -05:00 |
|
Christian Rocha
|
62aaaf35ef
|
Move style setters into a separate file
|
2021-03-05 10:07:00 -05:00 |
|