fix(app): prompt persistence and draft sessions (#33528)
This commit is contained in:
parent
a131811cdc
commit
e04c5e72f7
8 changed files with 154 additions and 32 deletions
|
|
@ -27,7 +27,7 @@ let variant: string | undefined
|
|||
|
||||
const promptValue: Prompt = [{ type: "text", content: "ls", start: 0, end: 2 }]
|
||||
const prompt = {
|
||||
ready: () => Object.assign(() => true, { promise: Promise.resolve(true) }),
|
||||
ready: Object.assign(() => true, { promise: Promise.resolve(true) }),
|
||||
current: () => promptValue,
|
||||
cursor: () => 0,
|
||||
dirty: () => true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue