mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-17 11:49:33 +01:00
fix(links): preserve workspace openers after lookup refusals
This commit is contained in:
1 parent
97d53f6621
commit
fd0e52496d
7 files changed
+80
-29
No files matched your search
@@ -2656,6 +2656,8 @@ function terminalPathLine(buffer, row, cols, maxRows) {
|
||||
if (!prev || rows + rowsOf(prev) > bound) break;
|
||||
first = prev;
|
||||
rows += rowsOf(prev);
|
||||
const tail = /[^\s"'<>|;&]+$/.exec(first.text.trimEnd())?.[0] || '';
|
||||
if (!tail.includes('/')) continue;
|
||||
const candidate = extend(first);
|
||||
if (candidate.parts[candidate.parts.length - 1].endRow >= base.startRow) extended = candidate;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user