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