Skip to content

Commit 327a394

Browse files
authored
temporary fix for line wrap with esc sequences
1 parent c266413 commit 327a394

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kirc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ printw(const char *format, ...) {
133133
putchar(line[i]);
134134
}
135135

136-
spaceleft -= i - 1;
136+
//spaceleft -= i - 1;
137+
spaceleft -= i - 1 - 9; /* _temporary_ fix */
137138

138139
for(tok = strtok(line, " "); tok != NULL; tok = strtok(NULL, " ")) {
139140
wordwidth = strlen(tok);

0 commit comments

Comments
 (0)