diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-18 23:31:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-18 23:31:23 +0000 |
commit | e2b26d910c7614cceef20282ee6991b1468238fc (patch) | |
tree | 5391376f668480bff58b242e8b14a94f636e9a87 | |
parent | 293e331d69def60110bdc49b6453af905e0509b3 (diff) | |
download | rtmux-e2b26d910c7614cceef20282ee6991b1468238fc.tar.gz rtmux-e2b26d910c7614cceef20282ee6991b1468238fc.tar.bz2 rtmux-e2b26d910c7614cceef20282ee6991b1468238fc.zip |
Unbreak line wrapping.
-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 a390dad8..3e836938 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 |