Unbreak line wrapping.

pull/1/head
Nicholas Marriott 2013-02-18 23:31:23 +00:00
parent 293e331d69
commit e2b26d910c
1 changed files with 1 additions and 1 deletions

View File

@ -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