Set the autowrap switch at the end of the line not before
Summary: All the rest of the code expects the autowrap switch to be set at the end of the line. Now in the case of double width characters the autowrap switch is set before the line ending. Reviewers: billiob Differential Revision: https://phab.enlightenment.org/D433
This commit is contained in:
parent
cf5e838084
commit
c3f40b8cd8
|
@ -183,7 +183,7 @@ _termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len)
|
|||
|
||||
if (ty->state.wrapnext)
|
||||
{
|
||||
cells[ty->state.cx].att.autowrapped = 1;
|
||||
cells[ty->w - 1].att.autowrapped = 1;
|
||||
ty->state.wrapnext = 0;
|
||||
ty->state.cx = 0;
|
||||
ty->state.cy++;
|
||||
|
|
Loading…
Reference in New Issue