Christian Rocha

Results 53 issues of Christian Rocha

Would be helpful to have this option for some advanced rendering uses, even if the syntax is more complex.

enhancement
renderer

When there’s a background color on a code block, should the background color also color the empty cells on the line? Given the following styling: ```json "code_block": { "prefix": "\n",...

enhancement
renderer

This PR allows us to drop the extra `go-colorful` dependency while maintaining compatibility with `color.Color`.

This adds support for CSS named colors via [Gamut](https://github.com/muesli/gamut), so you can do something like the following (per #29): ``` p := termenv.ColorProfile() s := termenv.String("Hello!").Foreground(p.Color("red")).String() ```

When combining word-wrapping with unconditional wrapping [as described](https://github.com/muesli/reflow#unconditional-wrapping) in the README, extra linebreaks can sometimes be found in the output. For example: ```go const str = "the quick brown foxxxxxxxxxxxxxxxx...

bug

I've noticed, while using various parts Reflow together, that most packages `int` to describe widths, while the newer truncate package uses `uint`. For example: ```go // In the ansi sub-package...

I'm finding that, after going through the django-htmlmin middleware implicity self-closing tags (HTML5-style) are becoming explicity self-closed tags (XHTML-style). For example the `` tag here… ``` ``` …incorrectly becomes self-closing...

Bug

I've been noticing that user input with linebreaks seems to not match anything at all, not even the topmost catch-all rule. I've been solving for this in the meantime by...

bug

### Discussed in https://github.com/charmbracelet/bubbles/discussions/235 Originally posted by **tty2** September 10, 2022 Is there any common way to have left/right scroll for viewport (or any other component)? I'm working on the...

enhancement

This adds an example showing how to draw and animate on a pixel-like grid. Note that this cellbuffer implementation does not support double-width runes. https://user-images.githubusercontent.com/25087/185721406-8d1b35e1-f524-4908-a8b0-2711aa8e9f30.mp4