Raphael 'kena' Poss
Raphael 'kena' Poss
The code parses `CSI 1 ~` and `CSI 4 ~` for Home/End. This is incorrect. Should be 7/8 (for rxvt) and H/F for vt100/everything else. Fixed by #396
Fixes #111. Example test file: https://github.com/knz/lipgloss/blob/20220903-changes/testdata/borders Other issues found thanks to this PR: - #110 - #112 - #113 - #114 - #115 - #116 - #117 - #118 -...
Since the `Background` property does not apply to borders (they have their own background keys), `Inherit` should apply the background color to the borders as well. Found while working on...
If I set width to 20, and I use inline, I still see whitespace padding generated on the right. This is surprising - if inline removes padding, it should also...
If I set height to 3, and I use inline, I still see 2 empty lines generated below the text. This is surprising - if inline removes padding, it should...
When I do `style.Render("hello\nworld")` I am expecting 2 different words. If I use `Inline`, the result is `helloworld` without space. I think we want 2 separate words here, i.e. replace...
When using `MarginBackground`, the escape code to terminate the background color is not properly inserted on the first and last line. See for example:   I would expect the...
When I use a wide rune (e.g. "⏩") as a top-right or bottom-right corner, the resulting edge is wider than the other lines. This should be corrected by padding the...
We're supposed to be able to use these methods to decide whether spaces are subject to the underline/strikethrough styles. Unfortunately, this effect is not reached. There's no visible difference in...
1) `GetBorderTopSize` and `GetBorderBottomSize` returns the maximum rune width of all the border characters. This is wrong: the top/bottom border sizes are just 1 (1 line) 2) `GetBorderLeftSize` and `GetBorderRightSize`...