termenv icon indicating copy to clipboard operation
termenv copied to clipboard

Advanced ANSI style & color support for your terminal applications

Results 48 termenv issues
Sort by recently updated
recently updated
newest added

Add support to underline styles and colors. Needs: https://github.com/muesli/termenv/pull/113 Reference: https://en.wikipedia.org/wiki/ANSI_escape_code#SGR Reference: https://sw.kovidgoyal.net/kitty/underlines/

The `Sequence` function doesn't need to have a bg argument, this should be the job of the styler to apply bg specific modifications. Make `ANSIColor` into a struct with a...

- Add GoReleaser to handle building for different OSs - Push a new tag to trigger a new release using GoReleaser

I dig into the src of almost all terms listed [here](https://github.com/termstandard/colors?tab=readme-ov-file#fully-supporting) most of them set `TERM=xterm-256color COLORTERM=truecolor`, but some set `TERM=`, in which case we can handle it here. This...

Carlos mentioned that there's a [spot](https://github.com/muesli/termenv/blob/345783024a348cbb893bf6f08f1d7ab79d2e22ff/termenv_unix.go#L53) in termenv that checks the type of emulator used by the client to determine truecolor compatibility. Right now it's only checking a few, but...

A pty is not in foreground, but it can do the IOCTL ops we need. My understanding might be wrong, but I think that if the term cannot do the...

bug

termenv compiles where `GOOS=js`, but fails with `GOOS=wasip1` (https://go.dev/blog/wasi). This patch treats wasip1 as js, which for these purposes should be correct. I was able to run the tests on...

The current implementation of BackgroundColor/ForegroundColor attempts to get the default color using a status report, or COLORFGBG if exists, or finally a default color if all else fails. I think...