Skip to content

Commit 3315a7d

Browse files
committed
3488 -
I'd messed up termbox in commit 3443; it was weird how it failed though. The terminal got really sluggish to switch between windows when the edit/ app was running. And it stopped clearing the screen properly.
1 parent 2bf1f31 commit 3315a7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ older_than cleave/cleave cleave/cleave.cc && {
8787
rm -rf .build
8888
}
8989

90-
older_than mu_bin mu.cc *_list cleave/cleave && {
90+
older_than mu_bin mu.cc *_list cleave/cleave termbox/* && {
9191
mkdir -p .build
9292
cp function_list test_list .build
9393
mkdir -p .build/termbox

termbox/output.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static const char *terminfo_copy_string(char *data, int str, int table) {
245245
const char *src = data + table + off;
246246
int len = strlen(src);
247247
char *dst = malloc(len+1);
248-
string_copy(dst, src, len);
248+
string_copy(dst, src, len+1);
249249
return dst;
250250
}
251251

0 commit comments

Comments
 (0)