Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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.