aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-18 23:31:23 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-18 23:31:23 +0000
commite2b26d910c7614cceef20282ee6991b1468238fc (patch)
tree5391376f668480bff58b242e8b14a94f636e9a87
parent293e331d69def60110bdc49b6453af905e0509b3 (diff)
downloadrtmux-e2b26d910c7614cceef20282ee6991b1468238fc.tar.gz
rtmux-e2b26d910c7614cceef20282ee6991b1468238fc.tar.bz2
rtmux-e2b26d910c7614cceef20282ee6991b1468238fc.zip
Unbreak line wrapping.
-rw-r--r--screen-write.c2
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