diff --git a/cmd/micro/buffer/eventhandler.go b/cmd/micro/buffer/eventhandler.go index ac6294a1..f04b78f9 100644 --- a/cmd/micro/buffer/eventhandler.go +++ b/cmd/micro/buffer/eventhandler.go @@ -1,7 +1,6 @@ package buffer import ( - "log" "time" "unicode/utf8" @@ -117,7 +116,6 @@ func (eh *EventHandler) Insert(start Loc, textStr string) { e.Deltas[0].End = start.MoveLA(utf8.RuneCount(text), eh.buf.LineArray) end := e.Deltas[0].End - log.Println(eh.cursors) for _, c := range eh.cursors { move := func(loc Loc) Loc { if start.Y != end.Y && loc.GreaterThan(start) { diff --git a/cmd/micro/screen/screen.go b/cmd/micro/screen/screen.go index 54ffe90d..11c8177f 100644 --- a/cmd/micro/screen/screen.go +++ b/cmd/micro/screen/screen.go @@ -54,7 +54,7 @@ func TempStart(screenWasNil bool) { // Init creates and initializes the tcell screen func Init() { - DrawChan = make(chan bool) + DrawChan = make(chan bool, 8) // Should we enable true color? truecolor := os.Getenv("MICRO_TRUECOLOR") == "1"