mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
disable undo/redo for now
This commit is contained in:
@@ -178,6 +178,11 @@ func New(
|
|||||||
IntitialMode: initialMode,
|
IntitialMode: initialMode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if app.Version != "dev" {
|
||||||
|
delete(app.Commands, commands.MessagesUndoCommand)
|
||||||
|
delete(app.Commands, commands.MessagesRedoCommand)
|
||||||
|
}
|
||||||
|
|
||||||
return app, nil
|
return app, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user