mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-27 05:46:34 +02:00
A drag-drop into VS Code's terminal arrives as a stream of single KeyRune events (no bracketed paste). The main loop redrew between every rune, so on a long session the path appeared to type in over several seconds instead of landing instantly. Bump the input channel buffer to 256 and, after handling one key, non-blockingly drain every other key already queued before issuing one invalidate. The whole burst processes in a single main-loop pass and the screen repaints once at the end. |
||
|---|---|---|
| .. | ||
| extensions | ||
| modes | ||
| tools | ||
| args.go | ||
| botcmd.go | ||
| botcmd_unix.go | ||
| botcmd_windows.go | ||
| build.go | ||
| changelog.go | ||
| cli.go | ||
| config.go | ||
| extcmd.go | ||
| modelsync.go | ||
| rpc.go | ||
| systemprompt.go | ||
| update.go | ||