mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix logterminal TERMMODE_LINEBUFFER checking.
This commit is contained in:
parent
cf5c2706b3
commit
716ac0dceb
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ int LogTerminal::settermmode(ioctx_t* /*ctx*/, unsigned newtermmode)
|
||||||
if ( oldutf8 != newutf8 )
|
if ( oldutf8 != newutf8 )
|
||||||
partiallywritten = 0;
|
partiallywritten = 0;
|
||||||
termmode = newtermmode;
|
termmode = newtermmode;
|
||||||
if ( (!newtermmode & TERMMODE_LINEBUFFER) )
|
if ( !(newtermmode & TERMMODE_LINEBUFFER) )
|
||||||
CommitLineBuffer();
|
CommitLineBuffer();
|
||||||
partiallywritten = 0;
|
partiallywritten = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue