Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Cmd.Undo

Description

Undo and redo cmds and support.

Synopsis

Documentation

maintain_history :: Ui.State -> Cmd.State -> [Update.UiUpdate] -> IO Cmd.State Source #

This is the toplevel function to record one Cmd's worth of history.

It's called by the responder after the Cmds are run and the updates are available.