diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-04-13 00:51:58 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-04-13 00:51:58 +0300 |
commit | 43a7bdab7262c015b50e3e673e80389f9514f9ca (patch) | |
tree | 0efd957e49ebe6c6350a3b9067e3068b24b2448c /ui/messages/html/base.go | |
parent | abd21affc42ad65968c946c3bbd6c63eba342981 (diff) |
Add better stringification for UI message types for debugging
Diffstat (limited to 'ui/messages/html/base.go')
-rw-r--r-- | ui/messages/html/base.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/html/base.go b/ui/messages/html/base.go index 8014dc0..75cbd0c 100644 --- a/ui/messages/html/base.go +++ b/ui/messages/html/base.go @@ -78,7 +78,7 @@ func (be *BaseEntity) PlainText() string { // String returns a textual representation of this BaseEntity struct. func (be *BaseEntity) String() string { - return fmt.Sprintf(`&html.BaseEntity{Tag="%s", Style=%d, Block=%t, startX=%d, height=%d},`, + return fmt.Sprintf(`&html.BaseEntity{Tag="%s", Style=%d, Block=%t, startX=%d, height=%d}`, be.Tag, be.Style, be.Block, be.startX, be.height) } |