samterm: avoid flushimage when theres nothing new to flush
This commit is contained in:
parent
45512020d2
commit
9e95cb1ac9
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ again:
|
||||||
|
|
||||||
if(got & ~block)
|
if(got & ~block)
|
||||||
return got & ~block;
|
return got & ~block;
|
||||||
flushimage(display, 1);
|
if(display->bufp > display->buf)
|
||||||
|
flushimage(display, 1);
|
||||||
type = alt(alts);
|
type = alt(alts);
|
||||||
switch(type){
|
switch(type){
|
||||||
case RHost:
|
case RHost:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue