Config view: Test connections below the service settings; hide a stale cursor

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 23:59:02 +02:00
co-authored by Claude Sonnet 5.5
parent 56bd80f7bb
commit 26e1679e4e
6 changed files with 112 additions and 11 deletions
+4
View File
@@ -175,6 +175,10 @@ func New(cfg *config.Config) *App {
AddItem(a.status, 1, 0, false)
a.app.SetBeforeDrawFunc(func(s tcell.Screen) bool {
// A focused text field shows the cursor again while it is drawn. Hiding it
// first covers focus moves that bypass tview (arrow keys in forms), which
// would leave the cursor behind in the field that was left.
s.HideCursor()
a.screen = s
a.cellAspect = cellAspectOf(s)
return false