Remove debugging statements

This commit is contained in:
erroneousboat 2019-06-29 11:59:37 +02:00
parent 488ac60fdc
commit d310753ab0

View File

@ -220,10 +220,6 @@ func actionRedrawGrid(ctx *context.AppContext, threads bool, debug bool) {
} }
if threads && debug { if threads && debug {
ctx.View.Debug.Println(
"threads && debug",
)
columns = append( columns = append(
columns, columns,
[]*termui.Row{ []*termui.Row{
@ -234,10 +230,6 @@ func actionRedrawGrid(ctx *context.AppContext, threads bool, debug bool) {
) )
} else if threads { } else if threads {
ctx.View.Debug.Println(
"threads",
)
columns = append( columns = append(
columns, columns,
[]*termui.Row{ []*termui.Row{
@ -246,9 +238,6 @@ func actionRedrawGrid(ctx *context.AppContext, threads bool, debug bool) {
}..., }...,
) )
} else if debug { } else if debug {
ctx.View.Debug.Println(
"debug",
)
columns = append( columns = append(
columns, columns,
[]*termui.Row{ []*termui.Row{
@ -266,8 +255,6 @@ func actionRedrawGrid(ctx *context.AppContext, threads bool, debug bool) {
), ),
) )
// ctx.Body.Align()
// termui.Render(ctx.Body)
termui.Body.Align() termui.Body.Align()
termui.Render(termui.Body) termui.Render(termui.Body)
} }