disable undo/redo for now
parent
8f0644e35b
commit
ff23f67ad5
|
|
@ -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…
Reference in New Issue