From 0c52a0d338724aae3a37ee104db4e45e51243b1b Mon Sep 17 00:00:00 2001 From: Peter Adams <18162810+Maxteabag@users.noreply.github.com> Date: Mon, 25 May 2026 09:57:55 +0200 Subject: [PATCH] fix(help): move 'n - New connection' out of On Connection Node subsection The binding works anywhere in the tree (it's on TreeFocusedState), but the hardcoded help text listed it under the connection-node-specific subsection alongside Edit/Delete/Duplicate/Disconnect. --- sqlit/domains/shell/state/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlit/domains/shell/state/machine.py b/sqlit/domains/shell/state/machine.py index 320528f4..2e021db2 100644 --- a/sqlit/domains/shell/state/machine.py +++ b/sqlit/domains/shell/state/machine.py @@ -183,13 +183,13 @@ def binding(key: str, desc: str, indent: int = 4) -> str: lines.append(section("EXPLORER")) lines.append(binding("j/k", "Move cursor down/up")) lines.append(binding("", "Expand node / Connect")) + lines.append(binding("n", "New connection")) lines.append(binding("s", "SELECT TOP 100 (on table/view)")) lines.append(binding("/", "Filter tree")) lines.append(binding("z", "Collapse all nodes")) lines.append(binding("f", "Refresh tree")) lines.append("") lines.append(subsection("On Connection Node:")) - lines.append(binding("n", "New connection")) lines.append(binding("e", "Edit connection")) lines.append(binding("d", "Delete connection")) lines.append(binding("D", "Duplicate connection"))