Releases: muesli/termenv
Releases · muesli/termenv
v0.8.0
Fixed:
- Reliably query terminal on high latency connections (#27)
- Detect screen/tmux sessions (#28)
- Fix TemplateFuncs example (#22)
Added:
- Add
Profile.FromColor
to convert a color.Color
interface to a termenv Color (#24)
v0.7.4
Fixed:
- Handle more COLORTERM env var values & behavior in tmux/screen
v0.7.3
Fixed:
- Support for Solaris/illumos
v0.7.2
Fixed:
- Fix storing/restoring term state on Linux
Added:
EnvNoColor
: returns whether the environment variables explicitly disable color output
EnvColorProfile
: returns the color profile based on environment variables set
v0.7.1
Fixed:
- Use golang.org/x/sys/unix to work around syscall differences
v0.7.0
Added:
- ANSI color name constants
Fixed:
- Retry sysSelect in Darwin on EINTR
v0.6.0
Changes:
- Optimize
ClearLines
by reducing it to a single print statement
Added:
- Add function for setting terminal scrolling region (aka CSR)
- Implement cursor back/forward functions
- Add sequences and functions for saving and restoring the cursor
- Add sequences and functions for line insertion and deletion
- Add mouse sequences and functions (#8)
- Add Style.Width, which returns the width of printable runes
Fixed:
- Fix missing color conversion in
ansi256ToANSIColor
v0.5.2
Fixed:
- Make
ClearLines
use the more commonly supported CursorUp
sequence
v0.5.1
Fixed:
- Make the status reports work reliably in macOS Terminal
v0.5.0
Added:
- Screen/cursor control methods
Fixed:
- Reading status reports with variable length and corrupt termination
- nil pointer panic when user passes the empty string as a color value