
Software Engineer, working at @skidata | Studied at @alpenadriauni | Tweets are my own (unless blatantly plagiarized)
- Tweets10.6K
- Following575
- Followers233
- Likes13K

ALT + // Writing large amounts of data can be corrupted for some reason, after looking into this is + // appears to be a race condition around writing to the FD which may be based on how powerful the + // hardware is. The workaround for this is to space out when large amounts of data is being written + // to the terminal. See https://github.com/microsoft/vscode/issues/38137 + const WRITE_MAX_CHUNK_SIZE = 50; + const WRITE_ INTERVAL_MS = 5; + export class TerminalProcess extends Disposable implements + + + + + + // Queue the next write this. writeTimeout = setTimeout ( () →> { this. writeTimeout = undefined; this._ startWrite(); WRITE_INTERVAL_MS) ;




























