The open source coding agent.
TypeScript
fix(app): truncate filename from start to show end of path
David Hill18ea09868a0f
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsxindex e07d87129b4..b6c4d3c856b 100644--- a/packages/app/src/components/prompt-input.tsx+++ b/packages/app/src/components/prompt-input.tsx@@ -1697,9 +1697,11 @@ export const PromptInput: Component<PromptInputProps> = (props) => {class="flex-1 flex items-center text-11-regular min-w-0"style={{ "font-weight": "var(--font-weight-medium)" }}>- <span class="truncate min-w-0">- <span class="text-text-weak">{getDirectory(item.path)}</span>- <span class="text-text-strong">{getFilename(item.path)}</span>+ <span class="truncate min-w-0" style={{ direction: "rtl", "text-align": "left" }}>+ <bdi>+ <span class="text-text-weak">{getDirectory(item.path)}</span>+ <span class="text-text-strong">{getFilename(item.path)}</span>+ </bdi></span><Show when={item.selection}>{(sel) => (