mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-01 06:46:43 -04:00
conf: add 'tweak.pty-prefetch-buffer-size-kb' setting
This controls the size of the buffers used by the PTY reader thread. The default is 512KB, for now.
This commit is contained in:
parent
984d008250
commit
1b06486c98
4 changed files with 19 additions and 11 deletions
|
|
@ -215,12 +215,12 @@ struct terminal {
|
|||
mtx_t lock;
|
||||
cnd_t cond;
|
||||
int event_fd;
|
||||
int size;
|
||||
unsigned size;
|
||||
|
||||
uint8_t idx;
|
||||
struct {
|
||||
uint8_t *data;
|
||||
int len;
|
||||
unsigned len;
|
||||
} buf[2];
|
||||
} ptmx_read_buffer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue