gizak / termui

Golang terminal dashboard
MIT License
13.23k stars 786 forks source link

Pars cannot be used in grid system #189

Closed ta3pks closed 6 years ago

ta3pks commented 6 years ago

if you use a par in a 12 len column the borders are perfectly aligned across the terminal but the content is invisible here is an example

    p := ui.NewPar("press q to quit")
    ui.Body.AddRows(
        ui.NewRow(
            ui.NewCol(12, 0, p),
        ),
    )
    ui.Body.Align()
    ui.Render(ui.Body)
    ui.Handle("/sys/kbd/q", func(e ui.Event) {
        ui.StopLoop()
    })
    ui.Loop()
image