fix: /undo command
This commit is contained in:
parent
09bb819064
commit
9275665868
1 changed files with 4 additions and 1 deletions
|
|
@ -204,7 +204,10 @@ export function Autocomplete(props: {
|
|||
{
|
||||
display: "/undo",
|
||||
description: "undo the last message",
|
||||
onSelect: () => command.trigger("session.undo"),
|
||||
onSelect: () => {
|
||||
hide()
|
||||
command.trigger("session.undo")
|
||||
},
|
||||
},
|
||||
{
|
||||
display: "/redo",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue