X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=internal%2Faction%2Frawpane.go;h=cdeade478cee53a3dc6192028f20e6965ea76530;hb=8d373cde6e2a5259b197c3dc68b74d5bc8bfa169;hp=58320ea22ef46aca61fa66ece912fe5486554c4f;hpb=0301e3539ea3bba36f6105b9d4e40b0a6ff03994;p=micro.git diff --git a/internal/action/rawpane.go b/internal/action/rawpane.go index 58320ea2..cdeade47 100644 --- a/internal/action/rawpane.go +++ b/internal/action/rawpane.go @@ -1,11 +1,12 @@ package action import ( + "fmt" "reflect" - "github.com/zyedidia/tcell" "github.com/zyedidia/micro/internal/buffer" "github.com/zyedidia/micro/internal/display" + "github.com/zyedidia/tcell" ) type RawPane struct { @@ -34,7 +35,6 @@ func (h *RawPane) HandleEvent(event tcell.Event) { } h.Buf.Insert(h.Cursor.Loc, reflect.TypeOf(event).String()[7:]) - // h.Buf.Insert(h.Cursor.Loc, fmt.Sprintf(": %q\n", event.EscSeq())) - h.Buf.Insert(h.Cursor.Loc, "\n") + h.Buf.Insert(h.Cursor.Loc, fmt.Sprintf(": %q\n", event.EscSeq())) h.Relocate() }