feat(demo): add smart auto scroll to grid

This commit is contained in:
Simon Chan 2022-05-22 23:28:01 +08:00
parent 12a991eab8
commit 76fd15c46b
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
2 changed files with 19 additions and 2 deletions

View file

@ -168,7 +168,7 @@ export class Logcat extends AdbCommandBase {
...(options?.pid ? ['--pid', options.pid.toString()] : []),
...(options?.ids ? ['-b', Logcat.joinLogId(options.ids)] : [])
], {
// PERF: None protocol is 25% faster then Shell protocol
// PERF: None protocol is 150% faster then Shell protocol
protocols: [AdbSubprocessNoneProtocol],
});
bufferedStream = new BufferedStream(stdout);