Commit Graph

284 Commits

Author SHA1 Message Date
Christian Rocha
adee683da4 Add methods to query border widths 2021-08-19 15:26:30 -04:00
Christian Muehlhaeuser
4b93de0799 Update linter config 2021-07-12 03:26:40 +02:00
Christian Rocha
4b96343a09 go mod tidy 2021-07-01 09:28:51 -04:00
Christian Rocha
a6ae7e925f Update color profile test per termenv v0.9.0 update 2021-07-01 09:28:51 -04:00
Christian Rocha
093474ebdf Bump termenv to v0.9.0 2021-07-01 09:28:51 -04:00
Christian Rocha
639b1fe3b8 Correct stringer interface example in README 2021-06-16 12:56:04 -04:00
Christian Muehlhaeuser
40b2c31765 Fix README examples for joins 2021-06-16 03:46:47 +02:00
Christian Rocha
c66ed10823
Bump go-runewidth to v0.0.13 2021-06-02 18:30:46 -04:00
Christian Rocha
117c27dc45 Add SetColorProfile for explicitly setting the color profile 2021-05-31 12:47:39 -04:00
Christian Rocha
66eb23093a Add StyleRunes function for styling specific runes in a string 2021-05-25 14:06:45 -04:00
Christian Rocha
d9fae9f03a For now, limit corners on border to a single rune 2021-04-29 09:59:44 -04:00
Christian Rocha
f5b1667a09 Adjust some instructional README copy 2021-04-29 09:59:44 -04:00
Christian Rocha
6064d52be1 Support for multi-rune borders 2021-04-29 09:59:44 -04:00
Christian Rocha
8a64d5c381 Bump go-runewidth to fix some emoji mis-measuring 2021-04-29 09:59:44 -04:00
Christian Rocha
36f851c815 Add some border documentation to the README 2021-04-29 09:59:44 -04:00
Christian Rocha
493d49e38a Add info on measuring width/height to README + add Size helper function 2021-04-29 09:59:44 -04:00
Christian Rocha
1e530f78cb Split utility functions into their own section in the README 2021-04-29 09:59:44 -04:00
Christian Rocha
51800631a2 Quince is not a citrus fruit
https://cathode.church/@meena/106002336386354738
2021-04-21 12:19:28 -04:00
Christian Rocha
e71af71a23 Add getters for all style rules 2021-04-21 10:52:50 -04:00
Christian Rocha
f7065243b8 Query terminal background color on initialization 2021-04-16 21:30:49 -04:00
Christian Rocha
2b27307e58 Short circuit rendering if no style rules are set 2021-04-12 18:34:48 -04:00
Christian Rocha
200b8d839f Revert "Keep margins, padding, widths, and heights positive"
This reverts commit 64fb44b31b.
2021-04-12 16:50:41 -04:00
Christian Rocha
64fb44b31b Keep margins, padding, widths, and heights positive 2021-04-12 16:44:37 -04:00
Christian Rocha
0f0a70603a Improve some doc comments 2021-04-07 12:23:36 -04:00
Christian Rocha
bb42143109 Remove 'Color' suffix from border FG/BG API methods
This makes the border API better match the rest of the API. Also, the
'Color' part is implicit.
2021-04-07 12:23:36 -04:00
Christian Rocha
874349bbec Don't enable ANSI in cmd.exe until absolutely necessary 2021-04-06 11:39:01 -04:00
Christian Rocha
fedd7a49aa Enable ANSI colors in cmd.exe and Windows PowerShell in Windows 10 2021-04-06 11:39:01 -04:00
Kiyon
cb8ec749fe Use the same receiver name 2021-04-06 08:25:18 +02:00
Kiyon
84c08a0604 fix typos in join 2021-04-06 08:25:02 +02:00
Kiyon
3cb36e5bd1 Cleanup: fix a typo and remove a redundant line 2021-04-06 08:24:41 +02:00
Kiyon
09613e226b Fix typos in unset 2021-04-06 08:24:10 +02:00
Kiyon
90ec1a88d1 Fix typos in set 2021-04-06 08:23:35 +02:00
Kiyon
55b4f2a124 Fix a typo in the whitespace render doc comment 2021-04-06 08:22:21 +02:00
Ahmed Khalf
5874013ef4 Fix example code to reflect api changes
Added boolean to Inline() function
2021-04-05 17:43:36 -04:00
Christian Rocha
816cd12f4a Remove irrelevant note about unset and falsey values 2021-04-05 15:20:51 -04:00
Christian Rocha
cdba8ecd00 Fix a typo in the Inline doc comment 2021-04-05 11:22:17 -04:00
Christian Rocha
b3875326a3 Don't check color profile and terminal darkness until absolutely necessary 2021-04-05 10:43:01 -04:00
Christian Rocha
e45d00a9fe
go mod tidy against example per termenv update 2021-04-03 10:36:20 -04:00
Christian Rocha
57eb90e4ca
Fix typo in README 2021-04-03 10:25:48 -04:00
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