gowid
gowid copied to clipboard
Compositional widgets for terminal user interfaces, written in Go, inspired by urwid.
I use edit widget to show command's output. According to the gowid documentation, I use `app.Run(gowid.RunFunction(func(app gowid.IApp) { app.Redraw() }` construction to update the content of the edit widget. It...
I built the following test app: ``` ... line1 := make([]gowid.IWidget, 0) line2 := make([]gowid.IWidget, 0) line3 := make([]gowid.IWidget, 0) text1 := text.New("line1 item0") text1h := holder.New(text1) text1s := styled.NewWithRanges(text1h,...
Hey. As a new TUI user hopping from `tview`, the lack of simple examples disturb me. Take a look at this: https://github.com/gcla/gowid/blob/master/examples/gowid-menu/menu.go A new person wouldn't for the life of...
In the demo code, when ZSH_THEME was using powerlevel9k, character widths were miscalculated, causing the right toolbar to span lines 
...with the following error in console: ``` panic: interface conversion: gowid.RenderFixed is not gowid.IRenderWithWeight: missing method Weight goroutine 1 [running]: github.com/gcla/gowid/widgets/columns.widgetWidthsExt({0x828115490, 0xc000177130}, {0xc0015141e0, 0xa, 0xa}, {0xc001514280, 0xa, 0xa}, {0x264e20, 0xc000a4a080},...
I have a new type of crash after rebuilding of cbsd-tui: ``` Exception has occurred: panic "runtime error: index out of range [70] with length 70" Stack: 3 0x0000000000648ce5 in...
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8. Commits 434eadc language: reject excessively large Accept-Language strings 23407e7 go.mod: ignore cyclic dependency for tagging b18d3dd secure/precis: replace bytes.Compare with bytes.Equal 795e854 all: replace...