Auth Flow Work

Go update too
This commit is contained in:
2026-02-12 06:12:21 -06:00
parent 687e64e701
commit cda564d5cc
4 changed files with 24 additions and 11 deletions

View File

@@ -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++
}
}