[GH-ISSUE #414] Question Mark border issue #302

Closed
opened 2026-03-04 01:03:46 +03:00 by kerem · 1 comment
Owner

Originally created by @ghost on GitHub (Feb 28, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/414

So I just tested this package and im having this weird error where the border of lists its just "?"

2020-02-28_01-08

`package main

import (
"github.com/rivo/tview"
)

func main() {
app := tview.NewApplication()
list := tview.NewList().
AddItem("List item 1", "Some explanatory text", 'a', nil).
AddItem("List item 2", "Some explanatory text", 'b', nil).
AddItem("List item 3", "Some explanatory text", 'c', nil).
AddItem("List item 4", "Some explanatory text", 'd', nil).
AddItem("Quit", "Press to exit", 'q', func() {
app.Stop()
})
list.SetBorder(true)
list.SetTitle("Test")

if err := app.SetRoot(list, true).SetFocus(list).Run(); err != nil {
	panic(err)
}

}
`

if anyone can help me i would appreciate

Originally created by @ghost on GitHub (Feb 28, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/414 So I just tested this package and im having this weird error where the border of lists its just "?" ![2020-02-28_01-08](https://user-images.githubusercontent.com/46006839/75501082-cd3dd680-59c6-11ea-9940-d30c88335714.png) `package main import ( "github.com/rivo/tview" ) func main() { app := tview.NewApplication() list := tview.NewList(). AddItem("List item 1", "Some explanatory text", 'a', nil). AddItem("List item 2", "Some explanatory text", 'b', nil). AddItem("List item 3", "Some explanatory text", 'c', nil). AddItem("List item 4", "Some explanatory text", 'd', nil). AddItem("Quit", "Press to exit", 'q', func() { app.Stop() }) list.SetBorder(true) list.SetTitle("Test") if err := app.SetRoot(list, true).SetFocus(list).Run(); err != nil { panic(err) } } ` if anyone can help me i would appreciate
kerem closed this issue 2026-03-04 01:03:46 +03:00
Author
Owner

@ghost commented on GitHub (Feb 28, 2020):

Ok i gave a look onto closed issues and managed to fix thanks anyways

<!-- gh-comment-id:592265142 --> @ghost commented on GitHub (Feb 28, 2020): Ok i gave a look onto closed issues and managed to fix thanks anyways
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#302
No description provided.