Releases: skippyr/graffiti
Releases · skippyr/graffiti
v1.2.1
Fixes
- The function
graffiti.EscapePrefixCharacters
now also escapes the prefix character used by fmt.Sprintf
.
v1.2.0
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
Fixes
- Apply required bits for Windows using just one statement instead of using a bunch of
if
clauses.
v1.1.4
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
Fixes
- Make
formatSpecifiers
struct private.
v1.1.2
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
Fixes
- Remove unnecessary modules from
go.mod
.
v1.1.0
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
- Remove unnecessary function
graffiti.RemoveFormatSpecifiers
.
v1.0.0
docs: add installation instructions