mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-04 18:39:54 +00:00
perf: tweak pty flow control
This commit is contained in:
parent
e33e954e41
commit
60046da4b3
@ -7,8 +7,8 @@ import { Application } from './app'
|
|||||||
class PTYDataQueue {
|
class PTYDataQueue {
|
||||||
private buffers: Buffer[] = []
|
private buffers: Buffer[] = []
|
||||||
private delta = 0
|
private delta = 0
|
||||||
private maxChunk = 1024
|
private maxChunk = 1024 * 100
|
||||||
private maxDelta = 1024 * 50
|
private maxDelta = this.maxChunk * 5
|
||||||
private flowPaused = false
|
private flowPaused = false
|
||||||
private decoder = new StringDecoder()
|
private decoder = new StringDecoder()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user