From 255c25158cb7a762d380af94440c3a1b2c3ffbea Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Thu, 17 May 2018 23:20:15 +1000 Subject: [PATCH] In prepare_display() set firstwb on tab as well as space --- source/screen.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/screen.c b/source/screen.c index a30d7d2..6979534 100644 --- a/source/screen.c +++ b/source/screen.c @@ -480,10 +480,13 @@ char **BX_prepare_display(const char *orig_str, else { if (indent == 0) + { indent = -1; + firstwb = pos; + } word_break = pos; - /* Only go as far as the edge of the screen */ + /* Only go as far as the edge of the screen */ len = 8 - (col % 8); for (i = 0; i < len; i++) {