Skip to content

Commit

Permalink
Add note about escape sequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox2Code committed Jun 1, 2022
1 parent e83b82a commit 149555c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Example: `38;2;164;198;57` set foreground color to rgb(164, 198, 57)
2 -> R;G;B
5 -> X (Only support from 0 to 15, see: [Wikipedia ANSI Page](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors))

Note: `String.trim()` may remove escape sequences, use `AnsiParser.patchEscapeSequence` first
to avoid escape sequences from being trimmed.

# Setup

Expand Down Expand Up @@ -68,7 +70,7 @@ repositories {
dependencies {
implementation 'com.github.Fox2Code:AndroidANSI:1.0.0'
implementation 'com.github.Fox2Code:AndroidANSI:1.0.1'
}
```

Expand Down

0 comments on commit 149555c

Please sign in to comment.