diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 10:41:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-22 10:41:01 +0000 |
commit | f19836550b70b447d6842e8da6cb32d559436c4b (patch) | |
tree | 97c402481ab6d662d281995917c834d6f1f5e14b /screen-write.c | |
parent | 79f5fe6f5bb7f24ab33ff365ff522c2c85df338d (diff) | |
download | rtmux-f19836550b70b447d6842e8da6cb32d559436c4b.tar.gz rtmux-f19836550b70b447d6842e8da6cb32d559436c4b.tar.bz2 rtmux-f19836550b70b447d6842e8da6cb32d559436c4b.zip |
Unbreak line wrapping.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c index 34dce95e..348065c6 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1053,7 +1053,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc) * Move the cursor. If not wrapping, stick at the last character and * replace it. */ - last = !!(s->mode & MODE_WRAP); + last = !(s->mode & MODE_WRAP); if (s->cx <= screen_size_x(s) - last - width) s->cx += width; else |