mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-08 22:40:02 +01:00
Unbreak line wrapping.
This commit is contained in:
parent
293e331d69
commit
e2b26d910c
@ -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
|
* Move the cursor. If not wrapping, stick at the last character and
|
||||||
* replace it.
|
* replace it.
|
||||||
*/
|
*/
|
||||||
last = !!(s->mode & MODE_WRAP);
|
last = !(s->mode & MODE_WRAP);
|
||||||
if (s->cx <= screen_size_x(s) - last - width)
|
if (s->cx <= screen_size_x(s) - last - width)
|
||||||
s->cx += width;
|
s->cx += width;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user