Path composer: let the / key type like any character

The hop entry silently swallowed "/" — a reservation left from an earlier
design that no longer does anything (path specs use commas, and the entry
filters suggestions by name or hex). Drop the special case so "/" types
like any other printable character, e.g. to filter a name that contains one.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 4.8 committed 2026-07-19 16:23:38 -04:00
1 parent 1b20989e6c
commit 293fdeb5da
1 file changed
+1 -1
+1 -1
View File
@@ -541,7 +541,7 @@ class PathComposerScreen(Screen):
self._hops.pop(self._cursor - 1)
self._cursor -= 1
self._index = 0
elif action == "text" and data.isprintable() and data not in ("/",):
elif action == "text" and data.isprintable():
if not data.isspace() or self._entry: # never begin the entry with a space
self._entry += data
self._index = 0