Skip to content

Releases: muesli/termenv

v0.8.0

11 Mar 15:22
913c404
Compare
Choose a tag to compare

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

10 Oct 02:27
6bf5b68
Compare
Choose a tag to compare

Fixed:

  • Handle more COLORTERM env var values & behavior in tmux/screen

v0.7.3

09 Oct 02:01
Compare
Choose a tag to compare

Fixed:

  • Support for Solaris/illumos

v0.7.2

22 Aug 10:12
90f39f1
Compare
Choose a tag to compare

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

17 Aug 09:31
Compare
Choose a tag to compare

Fixed:

  • Use golang.org/x/sys/unix to work around syscall differences

v0.7.0

24 Jul 00:38
Compare
Choose a tag to compare

Added:

  • ANSI color name constants

Fixed:

  • Retry sysSelect in Darwin on EINTR

v0.6.0

19 Jul 04:05
Compare
Choose a tag to compare

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

30 Apr 23:19
Compare
Choose a tag to compare

Fixed:

  • Make ClearLines use the more commonly supported CursorUp sequence

v0.5.1

29 Apr 00:20
Compare
Choose a tag to compare

Fixed:

  • Make the status reports work reliably in macOS Terminal

v0.5.0

31 Mar 04:47
Compare
Choose a tag to compare

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