Commit Graph

284 Commits

Author SHA1 Message Date
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
Christian Rocha
33162550cd
Correct Style.Inherit return value 2021-03-05 10:04:58 -05:00
Christian Rocha
def6454724
Remove some redundancy, rename some functions 2021-03-04 21:07:54 -05:00
Christian Rocha
fc6780cbaf
Add unsetters 2021-03-04 21:07:20 -05:00
Christian Rocha
1fb4cae84b
Implement inheritance 2021-03-04 19:47:15 -05:00
Christian Rocha
46dd8fbcc3
Switch to a method-based API 2021-03-04 12:54:40 -05:00
Christian Rocha
5913a9b105
Actually, use sync.Once to do termenv queries 2021-03-03 19:23:52 -05:00
Christian Rocha
9b1445b6f5
go mod tidy 2021-03-03 19:00:51 -05:00
Christian Rocha
30f46c0e58
Check hasDarkBackground on init only to prevent lockups 2021-03-03 19:00:51 -05:00
Christian Rocha
5c53233775
Initial commit. Add the nuts and bolts. 2021-03-01 18:29:00 -05:00