Christian Muehlhaeuser
|
1ac779f6f5
|
Fix typo in README
|
2021-04-03 10:22:59 -04:00 |
|
Christian Rocha
|
975984b13e
|
Rework Bubble Tea section of README based on the release notes
|
2021-04-02 22:03:21 -04:00 |
|
Christian Muehlhaeuser
|
21f16e8487
|
Bump termenv to v0.8.1
|
2021-04-03 00:19:05 +02:00 |
|
Christian Rocha
|
f271740892
|
Add header art to README
|
2021-04-02 18:11:32 -04:00 |
|
Christian Rocha
|
d3409399f6
|
Update term package location in example (former was deprecated)
|
2021-04-02 10:31:02 -04:00 |
|
Christian Rocha
|
3e266362d8
|
Remove ineffectual assignment in example
|
2021-04-02 10:27:29 -04:00 |
|
Christian Rocha
|
f7f21906fd
|
Just expose the API for setting the margin color.
|
2021-04-02 10:24:42 -04:00 |
|
Christian Rocha
|
3b2c9574ca
|
Remove the gaps and add the periods that the linter wants
|
2021-04-02 10:22:28 -04:00 |
|
Christian Rocha
|
408a26e349
|
Whoops, fix infinite recursion and actualy implement Go Color
|
2021-04-02 10:22:05 -04:00 |
|
Christian Rocha
|
31edf671ae
|
Correct align and join examples in the README + copy corrections
|
2021-03-31 14:06:12 -04:00 |
|
Christian Rocha
|
701d83b0e6
|
Fix an inconsistency in a README example
|
2021-03-31 11:00:36 -04:00 |
|
Christian Rocha
|
910319f64d
|
Tidy up example
|
2021-03-31 10:56:59 -04:00 |
|
Christian Rocha
|
382505df54
|
Add example image to README + small README copy edits
|
2021-03-31 10:41:07 -04:00 |
|
Christian Rocha
|
31b52762a4
|
Style.Inline() now skips over padding, margins and borders entirely
|
2021-03-31 09:55:21 -04:00 |
|
Christian Rocha
|
7f5222e773
|
Adjust some colors in the example
|
2021-03-31 09:42:15 -04:00 |
|
Christian Rocha
|
247757451d
|
Clarify what unsetting means in the README
|
2021-03-30 23:00:40 -04:00 |
|
Christian Rocha
|
36d20119f8
|
Add note about Bubble Tea/Bubbles to the README
|
2021-03-30 22:56:22 -04:00 |
|
Christian Rocha
|
5f2462b486
|
Add info about Place/PlaceHorizontal/PlaceVertical to the README
|
2021-03-30 22:44:03 -04:00 |
|
Christian Rocha
|
5eabaaea37
|
Colors satisfy the Go color interface
|
2021-03-30 22:28:54 -04:00 |
|
Christian Rocha
|
9b77d4607b
|
Rename ColorType to TerminalColor
|
2021-03-30 22:19:38 -04:00 |
|
Christian Rocha
|
8a4bf146ce
|
Finish up example
|
2021-03-30 22:15:28 -04:00 |
|
Christian Rocha
|
34d6f0c73b
|
Make map before inheriting
|
2021-03-30 22:15:28 -04:00 |
|
Christian Rocha
|
cb8b96556e
|
Margins inherit background color
|
2021-03-30 22:15:28 -04:00 |
|
Christian Rocha
|
9b77861080
|
Style.Inherit should return a style
|
2021-03-30 22:15:28 -04:00 |
|
Christian Rocha
|
f74e4b84cb
|
Correct height measurement in Style.Render()
|
2021-03-30 22:15:28 -04:00 |
|
Christian Rocha
|
c9a4a313f8
|
Rough example
|
2021-03-30 22:15:23 -04:00 |
|
Christian Rocha
|
619b74ed87
|
Apply border before applying margins
|
2021-03-30 13:06:15 -04:00 |
|
Christian Rocha
|
0cd4e2cc7f
|
Fix naming on padding setters
|
2021-03-30 13:05:39 -04:00 |
|
Christian Rocha
|
1692c92c70
|
Add forground options to whitespace generator
|
2021-03-30 10:45:47 -04:00 |
|
Christian Rocha
|
f24a617e3a
|
Pad short lines when horizontally positioning
|
2021-03-30 10:45:29 -04:00 |
|
Christian Rocha
|
5ec7baa707
|
Fix width of borders when they're horizontal only
|
2021-03-30 10:18:38 -04:00 |
|
Christian Rocha
|
7d217d8505
|
Add utils for measuring paragraphs
|
2021-03-29 17:45:42 -04:00 |
|
Christian Rocha
|
82393c2d95
|
Fix bug where top border was being rendered on the bottom
|
2021-03-26 18:15:16 -04:00 |
|
Christian Rocha
|
73f6cab6ac
|
Option to set whitespace color in place functions + whitespace renderer
|
2021-03-26 15:57:47 -04:00 |
|
Christian Rocha
|
25d9c64aa9
|
Remove an unused const
|
2021-03-26 14:18:50 -04:00 |
|
Christian Rocha
|
5b43b10fd6
|
Add utility for horizontally and vertically placing blocks in whitespace
|
2021-03-26 13:35:48 -04:00 |
|
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 |
|