commit 80e4f91a8c4f62f649912310870a832de4f8b265
parent e6c16381f36382ac1892587dd2bb246837c4fbe6
Author: Remy Noulin <loader2x@gmail.com>
Date: Wed, 2 Jan 2019 22:25:01 +0100
remove 0x9b from stripAnsiSequences, it's a byte in UTF8 codes
boxen.c | 2 +-
package.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/boxen.c b/boxen.c
@@ -541,7 +541,7 @@ internal void stripAnsiSequences(char *string) {
u8 status = SEARCH_SEQ;
while(string[i]) {
if (status == SEARCH_SEQ) {
- if (string[i] == '\x1b' || string[i] == '\x9b') {
+ if (string[i] == '\x1b') {
// dont copy sequence
status = CTRL_CODE;
}
diff --git a/package.yml b/package.yml
@@ -1,6 +1,6 @@
---
name: boxen
- version: 0.0.2
+ version: 0.0.3
description: "Create boxes in the terminal"
bin: ./boxen.c
#cflags: -DA -ggdb -std=gnu11 -fPIC -pipe