emptyMessagePlaceholder return a formatted placeholder for an empty message
()
| 380 | |
| 381 | // emptyMessagePlaceholder return a formatted placeholder for an empty message |
| 382 | func emptyMessagePlaceholder() string { |
| 383 | return colors.BlackBold(colors.WhiteBg("No description provided.")) |
| 384 | } |
| 385 | |
| 386 | func (sb *showBug) createOpView(g *gocui.Gui, name string, x0 int, y0 int, maxX int, height int, selectable bool) (*gocui.View, error) { |
| 387 | v, err := g.SetView(name, x0, y0, maxX, y0+height+1, 0) |