summary refs log tree commit diff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 3795a24..91fe6b4 100644
--- a/buffer.c
+++ b/buffer.c
@@ -131,7 +131,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
 		} else if (wc == L'\t') {
 			// XXX: Assuming TABSIZE = 8.
 			width += 8 - (width % 8);
-		} else if (wc < L' ') {
+		} else if (wc < L' ' || wc == L'\177') {
 			// XXX: ncurses will render these as "^A".
 			width += 2;
 		} else if (wcwidth(wc) > 0) {