mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 16:40:48 +00:00
disable undo/redo for now
This commit is contained in:
parent
8f0644e35b
commit
ff23f67ad5
1 changed files with 5 additions and 0 deletions
|
|
@ -178,6 +178,11 @@ func New(
|
|||
IntitialMode: initialMode,
|
||||
}
|
||||
|
||||
if app.Version != "dev" {
|
||||
delete(app.Commands, commands.MessagesUndoCommand)
|
||||
delete(app.Commands, commands.MessagesRedoCommand)
|
||||
}
|
||||
|
||||
return app, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue