linde12 / kod

terminal text editor written in Go, using xi-editor as backend
MIT License
315 stars 20 forks source link

Change to bufio.NewReader(c.rw) instead of bufio.NewScanner(c.rw) in … #46

Closed jantb closed 6 years ago

jantb commented 6 years ago

…connection.go

Fixes #45

linde12 commented 6 years ago

Did it solve any practical use case? I mean, did kod crash or not handle some message from xi-core without this? Just curious, this looks good!

jantb commented 6 years ago

Yes, it crashed when a line was long, frose the editor when the for loop exited.