Auth Flow Work
Go update too
This commit is contained in:
@@ -165,7 +165,15 @@ func (w *JsonContent) Draw(screen tcell.Screen) {
|
||||
txt = txt[:(w.w - brdSz)]
|
||||
}
|
||||
|
||||
wh.DrawText(w.x, y, txt, st.Dim(dim).Bold(!dim), screen)
|
||||
if w.editable {
|
||||
var key, val string
|
||||
|
||||
wh.DrawText(w.x, y, key, st.Dim(dim).Bold(!dim), screen)
|
||||
st = st.Reverse(true)
|
||||
wh.DrawText(w.x, y, val, st.Dim(dim).Bold(!dim), screen)
|
||||
} else {
|
||||
wh.DrawText(w.x, y, txt, st.Dim(dim).Bold(!dim), screen)
|
||||
}
|
||||
y++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user