mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-12 17:27:50 +08:00
edit: Use %+v to print mouse event.
This commit is contained in:
parent
089d4ad79c
commit
fee18f2543
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user