fix: leading ./ thingy

This commit is contained in:
Brooklyn Nicholson
2026-04-09 16:27:06 -05:00
parent b7d4ea1550
commit c5511bbc5a
3 changed files with 4 additions and 2 deletions

View File

@@ -1111,6 +1111,8 @@ def _(rid, params: dict) -> dict:
text = f"@{kind}:{rel}{suffix}"
elif word.startswith("~"):
text = "~/" + os.path.relpath(full, os.path.expanduser("~")) + suffix
elif word.startswith("./"):
text = "./" + rel + suffix
else:
text = rel + suffix

View File

@@ -907,7 +907,7 @@ export function App({ gw }: { gw: GatewayClient }) {
} else if (input || inputBuf.length) {
clearIn()
} else {
die()
return die()
}
return

View File

@@ -20,7 +20,7 @@ export const FACES = [
]
export const HOTKEYS: [string, string][] = [
['Ctrl+C', 'interrupt / clear / exit'],
['Ctrl+C', 'interrupt / clear draft / exit'],
['Ctrl+D', 'exit'],
['Ctrl+G', 'open $EDITOR for prompt'],
['Ctrl+L', 'new session (clear)'],