Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Releases: skippyr/graffiti

v1.2.1

19 Jun 12:47
Compare
Choose a tag to compare

Fixes

  • The function graffiti.EscapePrefixCharacters now also escapes the prefix character used by fmt.Sprintf.

v1.2.0

17 Jun 17:46
Compare
Choose a tag to compare

Features

  • Add new function graffiti.EscapePrefixCharacters to escape the prefix characters used to identify format specifiers that apply styles from a string, making it able to be printed as a regular text.

v1.1.5

15 Jun 22:20
Compare
Choose a tag to compare

Fixes

  • Apply required bits for Windows using just one statement instead of using a bunch of if clauses.

v1.1.4

15 Jun 16:49
Compare
Choose a tag to compare

Fixes

  • Ensure that bit ENABLE_PROCESSED_OUTPUT is also set into the Console Mode of Windows, as described in its documentation. Here is a reference.

v1.1.3

15 Jun 12:02
Compare
Choose a tag to compare

Fixes

  • Make formatSpecifiers struct private.

v1.1.2

15 Jun 00:21
Compare
Choose a tag to compare

Fixes

  • New line character is now appended before the ANSI end style sequence character. This solves some rendering issues setting background color in some multi line prompts: for instance, the cmd from Windows.
  • Add better naming for some function parameters.
  • Code base has been better organized and documented.

v1.1.1

14 Jun 17:55
Compare
Choose a tag to compare

Fixes

  • Remove unnecessary modules from go.mod.

v1.1.0

14 Jun 17:25
Compare
Choose a tag to compare

Features

  • Enable support for Windows by setting bit ENABLE_VIRTUAL_TERMINAL_PROCESSING for current process.

Fixes

  • Consider streams file descriptors from *os.File.Fd() instead of using hardcoded integers for Unix only.

v1.0.1

14 Jun 15:17
Compare
Choose a tag to compare
  • Remove unnecessary function graffiti.RemoveFormatSpecifiers.

v1.0.0

14 Jun 15:00
Compare
Choose a tag to compare
docs: add installation instructions