mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2025-01-08 21:18:03 +03:00
avoid unnecessary call to spiceterm_clear_xy
This commit is contained in:
parent
8f53ae816c
commit
186d67d601
@ -539,7 +539,7 @@ spiceterm_set_alternate_buffer(spiceTerm *vt, int on_off)
|
||||
/* clear screen */
|
||||
for (y = 0; y <= vt->height; y++) {
|
||||
for (x = 0; x < vt->width; x++) {
|
||||
spiceterm_clear_xy(vt, x, y);
|
||||
// spiceterm_clear_xy(vt, x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ typedef struct TextCell {
|
||||
TextAttributes attrib;
|
||||
} TextCell;
|
||||
|
||||
#define COMMANDS_SIZE 1024
|
||||
#define COMMANDS_SIZE (1024*10)
|
||||
#define MAX_HEIGHT 2048
|
||||
#define MAX_WIDTH 2048
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user