mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
fix(tui): keep home shortcuts right-aligned (#36906)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9f69463f1d
commit
26ff3ed3d3
@@ -1644,7 +1644,7 @@ export function Prompt(props: PromptProps) {
|
||||
</Match>
|
||||
<Match when={true}>
|
||||
{props.hint ?? (
|
||||
<Show when={props.sessionID}>
|
||||
<Show when={props.sessionID} fallback={<text />}>
|
||||
<box marginLeft={1}>
|
||||
<text fg={theme.textMuted}>{location()?.directory ?? paths.cwd}</text>
|
||||
</box>
|
||||
|
||||
Reference in New Issue
Block a user