This commit is contained in:
Kovid Goyal
2024-05-14 17:08:04 +05:30
parent e23243ec78
commit 4a0aa012e4

View File

@@ -76,7 +76,7 @@ func (self *faces) draw_screen() (err error) {
return
}
lp.MoveCursorTo(1, y+1)
_, y, str = self.handler.render_lines.InRectangle([]string{title + " - " + previews[setting].Psname}, 0, y, int(sz.WidthCells), int(sz.HeightCells), &self.handler.mouse_state, self.on_click)
_, y, str = self.handler.render_lines.InRectangle([]string{title + ": " + previews[setting].Psname}, 0, y, int(sz.WidthCells), int(sz.HeightCells), &self.handler.mouse_state, self.on_click)
lp.QueueWriteString(str)
if y+num_lines < int(sz.HeightCells) {
lp.MoveCursorTo(1, y+1)