Fix Calendar widget border character to align with consistent box-drawing style

This commit is contained in:
Arindy 2025-12-28 21:34:03 +01:00
parent e1482a152e
commit 6b0d9b229f

View File

@ -29,7 +29,7 @@ func createCalendar(ctx context.Context, _ terminalapi.Terminal, _ interface{})
if err := widget.Write("┌────────────────────┐\n", text.WriteCellOpts(cell.FgColor(cell.ColorWhite))); err != nil {
return err
}
if err := widget.Write(fmt.Sprintf("|%-20s|\n", time.Now().Format("January 2006")), text.WriteCellOpts(cell.FgColor(cell.ColorWhite))); err != nil {
if err := widget.Write(fmt.Sprintf("│%-20s│\n", time.Now().Format("January 2006")), text.WriteCellOpts(cell.FgColor(cell.ColorWhite))); err != nil {
return err
}
if err := widget.Write("├──┬──┬──┬──┬──┬──┬──┤\n", text.WriteCellOpts(cell.FgColor(cell.ColorWhite))); err != nil {