hsfm-gtk

Safe HaskellSafe
LanguageHaskell2010

HSFM.History

Synopsis

Documentation

data BrowsingHistory Source

Browsing history. For forwardHistory and backwardsHistory the first item is the most recent one.

Constructors

BrowsingHistory 

Fields

backwardsHistory :: [Path Abs]
 
currentDir :: Path Abs
 
forwardHistory :: [Path Abs]
 
maxSize :: Int
 

historyNewPath :: Path Abs -> BrowsingHistory -> BrowsingHistory Source

This is meant to be called after e.g. a new path is entered (not navigated to via the history) and the history needs updating.

historyBack :: BrowsingHistory -> BrowsingHistory Source

Go back one step in the history.

historyForward :: BrowsingHistory -> BrowsingHistory Source

Go forward one step in the history.