fix: leading ./ thingy
This commit is contained in:
@@ -1111,6 +1111,8 @@ def _(rid, params: dict) -> dict:
|
|||||||
text = f"@{kind}:{rel}{suffix}"
|
text = f"@{kind}:{rel}{suffix}"
|
||||||
elif word.startswith("~"):
|
elif word.startswith("~"):
|
||||||
text = "~/" + os.path.relpath(full, os.path.expanduser("~")) + suffix
|
text = "~/" + os.path.relpath(full, os.path.expanduser("~")) + suffix
|
||||||
|
elif word.startswith("./"):
|
||||||
|
text = "./" + rel + suffix
|
||||||
else:
|
else:
|
||||||
text = rel + suffix
|
text = rel + suffix
|
||||||
|
|
||||||
|
|||||||
@@ -907,7 +907,7 @@ export function App({ gw }: { gw: GatewayClient }) {
|
|||||||
} else if (input || inputBuf.length) {
|
} else if (input || inputBuf.length) {
|
||||||
clearIn()
|
clearIn()
|
||||||
} else {
|
} else {
|
||||||
die()
|
return die()
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export const FACES = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const HOTKEYS: [string, string][] = [
|
export const HOTKEYS: [string, string][] = [
|
||||||
['Ctrl+C', 'interrupt / clear / exit'],
|
['Ctrl+C', 'interrupt / clear draft / exit'],
|
||||||
['Ctrl+D', 'exit'],
|
['Ctrl+D', 'exit'],
|
||||||
['Ctrl+G', 'open $EDITOR for prompt'],
|
['Ctrl+G', 'open $EDITOR for prompt'],
|
||||||
['Ctrl+L', 'new session (clear)'],
|
['Ctrl+L', 'new session (clear)'],
|
||||||
|
|||||||
Reference in New Issue
Block a user