about summary refs log tree commit diff stats
path: root/termbox
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-08 17:56:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-08 17:56:07 -0700
commit3315a7d3bb8560bad215febe7a69187707dac4e3 (patch)
tree7d5c4a38c6eebe8959d0eaa16b332ab602d7bf4b /termbox
parent2bf1f3115da1fe539606ef53baf0e399aabe6051 (diff)
downloadmu-3315a7d3bb8560bad215febe7a69187707dac4e3.tar.gz
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.
Diffstat (limited to 'termbox')
-rw-r--r--termbox/output.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/termbox/output.inl b/termbox/output.inl
index 43ebed3b..d87049ef 100644
--- a/termbox/output.inl
+++ b/termbox/output.inl
@@ -245,7 +245,7 @@ static const char *terminfo_copy_string(char *data, int str, int table) {
   const char *src = data + table + off;
   int len = strlen(src);
   char *dst = malloc(len+1);
-  string_copy(dst, src, len);
+  string_copy(dst, src, len+1);
   return dst;
 }