termonad-0.2.1.0: Terminal emulator configurable in Haskell

Safe Haskell | None
Language | Haskell2010

Termonad.Term

Synopsis

- focusTerm :: Int -> TMState -> IO ()
- altNumSwitchTerm :: Int -> TMState -> IO ()
- termExitFocused :: TMState -> IO ()
- termExitWithConfirmation :: TMNotebookTab -> TMState -> IO ()
- termExit :: TMNotebookTab -> TMState -> IO ()
- relabelTabs :: TMState -> IO ()
- relabelTab :: Notebook -> Label -> ScrolledWindow -> Terminal -> IO ()
- showScrollbarToPolicy :: ShowScrollbar -> PolicyType
- createScrolledWin :: TMState -> IO ScrolledWindow
- createNotebookTabLabel :: IO (Box, Label, Button)
- getCursorColor :: TMConfig -> IO RGBA
- cwdOfPid :: Int -> IO (Maybe Text)
- createTerm :: (TMState -> EventKey -> IO Bool) -> TMState -> IO TMTerm

# Documentation

focusTerm :: Int -> TMState -> IO () Source #

altNumSwitchTerm :: Int -> TMState -> IO () Source #

termExitFocused :: TMState -> IO () Source #

termExitWithConfirmation :: TMNotebookTab -> TMState -> IO () Source #

termExit :: TMNotebookTab -> TMState -> IO () Source #

relabelTabs :: TMState -> IO () Source #

relabelTab :: Notebook -> Label -> ScrolledWindow -> Terminal -> IO () Source #

showScrollbarToPolicy :: ShowScrollbar -> PolicyType Source #

createScrolledWin :: TMState -> IO ScrolledWindow Source #

createNotebookTabLabel :: IO (Box, Label, Button) Source #

getCursorColor :: TMConfig -> IO RGBA Source #

cwdOfPid :: Int -> IO (Maybe Text) Source #

TODO: This should probably be implemented in an external package, since it is a generally useful utility.

It should also be implemented for windows and osx.

createTerm :: (TMState -> EventKey -> IO Bool) -> TMState -> IO TMTerm Source #