edit: Use %+v to print mouse event.

This commit is contained in:
Qi Xiao 2016-02-13 20:37:21 +01:00
parent 089d4ad79c
commit fee18f2543

View File

@ -306,7 +306,7 @@ MainLoop:
case err := <-ed.reader.ErrorChan():
ed.notify("reader error: %s", err.Error())
case mouse := <-ed.reader.MouseChan():
ed.addTip("mouse: %#v", mouse)
ed.addTip("mouse: %+v", mouse)
case <-ed.reader.CPRChan():
// Ignore CPR
case k := <-ed.reader.KeyChan():