Enric Calabuig retweeted
I would not have predicted tmux ability would be such an important party of my day-to-day if you'd asked me 10 years ago.
Enric Calabuig retweeted
Why is pasting into VSCode Terminal slow? Because it sleeps for 5ms every 50 characters.

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) ;
Enric Calabuig retweeted
A day of hacking later, and the @AmpCode CLI has LSP-backed diagnostics!
In a terminal near you soon...






