chore: generate
This commit is contained in:
@@ -1101,8 +1101,7 @@ export function Session() {
|
||||
>
|
||||
<text fg={theme.textMuted}>{revert()!.reverted.length} message reverted</text>
|
||||
<text fg={theme.textMuted}>
|
||||
<span style={{ fg: theme.text }}>{redoShortcut()}</span> or /redo to
|
||||
restore
|
||||
<span style={{ fg: theme.text }}>{redoShortcut()}</span> or /redo to restore
|
||||
</text>
|
||||
<Show when={revert()!.diffFiles?.length}>
|
||||
<box marginTop={1}>
|
||||
|
||||
@@ -220,11 +220,7 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
|
||||
},
|
||||
},
|
||||
...(confirm()
|
||||
? [
|
||||
{ key: "return", cmd: () => submit() },
|
||||
{ key: "escape", cmd: () => reject() },
|
||||
...sections.question,
|
||||
]
|
||||
? [{ key: "return", cmd: () => submit() }, { key: "escape", cmd: () => reject() }, ...sections.question]
|
||||
: [
|
||||
...Array.from({ length: max }, (_, index) => ({
|
||||
key: String(index + 1),
|
||||
|
||||
Reference in New Issue
Block a user