tview
tview copied to clipboard
Terminal UI library with rich, interactive widgets — written in Golang
This PR fixes https://github.com/rivo/tview/issues/751 When skipping color tags the `currentTag` is getting incremented and directly after that a index access with that happens. This always crashes on the last tag....
Borders of focused elements are drawn differently than for unfocused ones (thicker / double lines). Would be nice if there is a method to control that behavior. While it's possible...
create table: ```go table := tview.NewTable() for r, entry := range tuples { for c := 0; c < 2; c++ { val := entry.Path if c == 1 {...
Is there a way to add a title to the grid's border?
The simple addition of a `borderFocusStyle` addresses the issues mentioned in #692. If there is a better solution or other considerations, please let me know.
I try to use unicode text (here is japanese) in `tview.List` with `list.AddItem(text, "", 0, func(){})`, but when I scroll up or down list, some unwanted character is also rendered....
There is a guard to only check if the current tag `currentTag` has a index in `colorTagIndices`: https://github.com/rivo/tview/blob/711ef394f9b31ad219f5f7bbc85bddfb766af6ab/textview.go#L623 when it hits the end tag it increments the `currentTag` https://github.com/rivo/tview/blob/711ef394f9b31ad219f5f7bbc85bddfb766af6ab/textview.go#L625 and...
Add logic to flush channels, and to safeguard adding of events, aftermain loop in Application.Run exited
Hello. I need to generate graphics and present them. I would like in a box, open an image with framebuffer, for example.
how to achieve word wrap on list items ?  there's text after `you` which is cut by the terminal window size. if not...