gofmt
edit: Add stubs for history facility
edit: Use CSI G, not CSI {C D} for economy and compatibility
Use fmt.Fprintf on bytes.Buffer, not Sprintf