Improve framerate

This commit is contained in:
Evan 2022-09-18 21:57:33 -06:00
parent 50139be273
commit dd205b2d9e

View file

@ -73,8 +73,8 @@ func handler(w http.ResponseWriter, r *http.Request) {
if i >= frames.GetLength() {
i = 0
}
// Artificially wait between reponses.
time.Sleep(time.Millisecond * 70)
// Artificially wait between responses.
time.Sleep(time.Millisecond * 69)
// Clear screen
clearScreen := "\033[2J\033[H"