Safe Haskell | None |
---|---|
Language | Haskell2010 |
Termonad.Types
Contents
Synopsis
- data TMTerm = TMTerm {}
- data TMNotebookTab = TMNotebookTab {}
- data TMNotebook = TMNotebook {}
- getNotebookFromTMState :: TMState -> TMWindowId -> IO Notebook
- getNotebookFromTMState' :: TMState' -> TMWindowId -> IO Notebook
- getTMNotebookFromTMState :: TMState -> TMWindowId -> IO TMNotebook
- getTMNotebookFromTMState' :: TMState' -> TMWindowId -> IO TMNotebook
- data TMWindow = TMWindow {}
- type TMWindowId = IdMapKey
- getTMWindowFromWins :: IdMap TMWindow -> TMWindowId -> IO TMWindow
- getTMWindowFromTMState :: TMState -> TMWindowId -> IO TMWindow
- getTMWindowFromTMState' :: TMState' -> TMWindowId -> IO TMWindow
- data TMState' = TMState {}
- type TMState = MVar TMState'
- createTMTerm :: Terminal -> Int -> Unique -> TMTerm
- newTMTerm :: Terminal -> Int -> IO TMTerm
- getFocusedTermFromState :: TMState -> TMWindowId -> IO (Maybe Terminal)
- createTMNotebookTab :: Label -> ScrolledWindow -> TMTerm -> TMNotebookTab
- createTMNotebook :: Notebook -> FocusList TMNotebookTab -> TMNotebook
- createEmptyTMNotebook :: Notebook -> TMNotebook
- notebookToList :: Notebook -> IO [Widget]
- createTMWindow :: ApplicationWindow -> TMNotebook -> TMWindow
- newEmptyTMState :: TMConfig -> Application -> ApplicationWindow -> Notebook -> FontDescription -> IO (TMState, TMWindowId)
- data FontSize
- defaultFontSize :: FontSize
- modFontSize :: Int -> FontSize -> FontSize
- fontSizeFromFontDescription :: FontDescription -> IO FontSize
- createFontDesc :: FontSize -> Text -> IO FontDescription
- setFontDescSize :: FontDescription -> FontSize -> IO ()
- createFontDescFromConfig :: TMConfig -> IO FontDescription
- data FontConfig = FontConfig {
- fontFamily :: !Text
- fontSize :: !FontSize
- defaultFontConfig :: FontConfig
- fontConfigFromFontDescription :: FontDescription -> IO (Maybe FontConfig)
- data Option a
- whenSet :: Monoid m => Option a -> (a -> m) -> m
- data ShowScrollbar
- showScrollbarToString :: ShowScrollbar -> Text
- showScrollbarFromString :: Text -> Maybe ShowScrollbar
- data ShowTabBar
- showTabBarToString :: ShowTabBar -> Text
- showTabBarFromString :: Text -> Maybe ShowTabBar
- data ConfigOptions = ConfigOptions {
- fontConfig :: !FontConfig
- showScrollbar :: !ShowScrollbar
- scrollbackLen :: !Integer
- confirmExit :: !Bool
- wordCharExceptions :: !Text
- showMenu :: !Bool
- showTabBar :: !ShowTabBar
- cursorBlinkMode :: !CursorBlinkMode
- boldIsBright :: !Bool
- enableSixel :: !Bool
- allowBold :: !Bool
- cursorBlinkModeToString :: CursorBlinkMode -> Text
- cursorBlinkModeFromString :: Text -> Maybe CursorBlinkMode
- defaultConfigOptions :: ConfigOptions
- data TMConfig = TMConfig {
- options :: !ConfigOptions
- hooks :: !ConfigHooks
- defaultTMConfig :: TMConfig
- newtype ConfigHooks = ConfigHooks {
- createTermHook :: TMState -> Terminal -> IO ()
- defaultConfigHooks :: ConfigHooks
- defaultCreateTermHook :: TMState -> Terminal -> IO ()
- data FocusNotSameErr
- data TabsDoNotMatch
- data TMWinInvariantErr
- data TMStateInvariantErr = TMWinInvariantErr Int TMWinInvariantErr
- invariantTMWindow :: TMWindow -> IO [TMWinInvariantErr]
- invariantTMState' :: TMState' -> IO [TMStateInvariantErr]
- assertInvariantTMState :: TMState -> IO ()
- pPrintTMState :: TMState -> IO ()
- traceShowMTMState :: TMState -> IO ()
Documentation
A wrapper around a VTE Terminal
. This also stores the process ID of the
process running on this terminal, as well as a Unique
that can be used for
comparing terminals.
Constructors
TMTerm | |
data TMNotebookTab Source #
A container that holds everything in a given terminal window. The term
in the TMTerm
is inside the tmNotebookTabTermContainer
ScrolledWindow
.
The notebook tab Label
is also available.
Constructors
TMNotebookTab | |
Fields
|
Instances
Show TMNotebookTab Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> TMNotebookTab -> ShowS # show :: TMNotebookTab -> String # showList :: [TMNotebookTab] -> ShowS # | |
Eq TMNotebookTab Source # | |
Defined in Termonad.Types Methods (==) :: TMNotebookTab -> TMNotebookTab -> Bool # (/=) :: TMNotebookTab -> TMNotebookTab -> Bool # |
data TMNotebook Source #
This holds the GTK Notebook
containing multiple tabs of Terminal
s. We
keep a separate list of terminals in tmNotebookTabs
.
Constructors
TMNotebook | |
Fields
|
Instances
Show TMNotebook Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> TMNotebook -> ShowS # show :: TMNotebook -> String # showList :: [TMNotebook] -> ShowS # |
getNotebookFromTMState :: TMState -> TMWindowId -> IO Notebook Source #
getNotebookFromTMState' :: TMState' -> TMWindowId -> IO Notebook Source #
getTMNotebookFromTMState :: TMState -> TMWindowId -> IO TMNotebook Source #
Constructors
TMWindow | |
Fields |
type TMWindowId = IdMapKey Source #
getTMWindowFromWins :: IdMap TMWindow -> TMWindowId -> IO TMWindow Source #
Get a given TMWindow
from a set of TMWindow
s given a TMWindowId
.
This throws an error if the TMWindowId
can't be found within the IdMap
.
getTMWindowFromTMState :: TMState -> TMWindowId -> IO TMWindow Source #
Get a given TMWindow
froma a TMState
given a TMWindowId
.
This throws an error if the TMWindowId
can't be found within the TMState
.
getTMWindowFromTMState' :: TMState' -> TMWindowId -> IO TMWindow Source #
Constructors
TMState | |
Fields
|
getFocusedTermFromState :: TMState -> TMWindowId -> IO (Maybe Terminal) Source #
createTMNotebookTab :: Label -> ScrolledWindow -> TMTerm -> TMNotebookTab Source #
createTMWindow :: ApplicationWindow -> TMNotebook -> TMWindow Source #
newEmptyTMState :: TMConfig -> Application -> ApplicationWindow -> Notebook -> FontDescription -> IO (TMState, TMWindowId) Source #
The font size for the Termonad terminal. There are two ways to set the fontsize, corresponding to the two different ways to set the font size in the Pango font rendering library.
If you're not sure which to use, try FontSizePoints
first and see how it
looks. It should generally correspond to font sizes you are used to from
other applications.
Constructors
FontSizePoints Int | This sets the font size based on "points". The conversion between a
point and an actual size depends on the system configuration and the
output device. The function |
FontSizeUnits Double | This sets the font size based on "device units". In general, this
can be thought of as one pixel. The function
|
Instances
defaultFontSize :: FontSize Source #
The default FontSize
used if not specified.
>>>
defaultFontSize
FontSizePoints 12
modFontSize :: Int -> FontSize -> FontSize Source #
Modify a FontSize
by adding some value.
>>>
modFontSize 1 (FontSizePoints 13)
FontSizePoints 14>>>
modFontSize 1 (FontSizeUnits 9.0)
FontSizeUnits 10.0
You can reduce the font size by passing a negative value.
>>>
modFontSize (-2) (FontSizePoints 13)
FontSizePoints 11
If you try to create a font size less than 1, then the old font size will be used.
>>>
modFontSize (-10) (FontSizePoints 5)
FontSizePoints 5>>>
modFontSize (-1) (FontSizeUnits 1.0)
FontSizeUnits 1.0
Arguments
:: FontSize | |
-> Text | font family |
-> IO FontDescription |
Create a FontDescription
from a FontSize
and font family.
setFontDescSize :: FontDescription -> FontSize -> IO () Source #
Set the size of a FontDescription
from a FontSize
.
createFontDescFromConfig :: TMConfig -> IO FontDescription Source #
Create a FontDescription
from the fontSize
and fontFamily
inside a TMConfig
.
data FontConfig Source #
Settings for the font to be used in Termonad.
Constructors
FontConfig | |
Fields
|
Instances
FromJSON FontConfig Source # | |||||
Defined in Termonad.Types | |||||
ToJSON FontConfig Source # | |||||
Defined in Termonad.Types Methods toJSON :: FontConfig -> Value # toEncoding :: FontConfig -> Encoding # toJSONList :: [FontConfig] -> Value # toEncodingList :: [FontConfig] -> Encoding # omitField :: FontConfig -> Bool # | |||||
Generic FontConfig Source # | |||||
Defined in Termonad.Types Associated Types
| |||||
Show FontConfig Source # | |||||
Defined in Termonad.Types Methods showsPrec :: Int -> FontConfig -> ShowS # show :: FontConfig -> String # showList :: [FontConfig] -> ShowS # | |||||
Eq FontConfig Source # | |||||
Defined in Termonad.Types | |||||
type Rep FontConfig Source # | |||||
Defined in Termonad.Types type Rep FontConfig = D1 ('MetaData "FontConfig" "Termonad.Types" "termonad-4.6.0.0-8BzNQcxECnY5try4iqBfLb" 'False) (C1 ('MetaCons "FontConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "fontFamily") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "fontSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FontSize))) |
defaultFontConfig :: FontConfig Source #
The default FontConfig
to use if not specified.
>>>
defaultFontConfig == FontConfig {fontFamily = "Monospace", fontSize = defaultFontSize}
True
This data type represents an option that can either be Set
or Unset
.
This data type is used in situations where leaving an option unset results in a special state that is not representable by setting any specific value.
Examples of this include the cursorFgColour
and cursorBgColour
options
supplied by the ColourConfig
ConfigExtension
. By default,
cursorFgColour
and cursorBgColour
are both Unset
. However, when
cursorBgColour
is Set
, cursorFgColour
defaults to the color of the text
underneath. There is no way to represent this by explicitly setting
cursorFgColour
.
Instances
Foldable Option Source # | |
Defined in Termonad.Types Methods fold :: Monoid m => Option m -> m # foldMap :: Monoid m => (a -> m) -> Option a -> m # foldMap' :: Monoid m => (a -> m) -> Option a -> m # foldr :: (a -> b -> b) -> b -> Option a -> b # foldr' :: (a -> b -> b) -> b -> Option a -> b # foldl :: (b -> a -> b) -> b -> Option a -> b # foldl' :: (b -> a -> b) -> b -> Option a -> b # foldr1 :: (a -> a -> a) -> Option a -> a # foldl1 :: (a -> a -> a) -> Option a -> a # elem :: Eq a => a -> Option a -> Bool # maximum :: Ord a => Option a -> a # minimum :: Ord a => Option a -> a # | |
Functor Option Source # | |
Read a => Read (Option a) Source # | |
Show a => Show (Option a) Source # | |
Eq a => Eq (Option a) Source # | |
Ord a => Ord (Option a) Source # | |
Defined in Termonad.Types |
data ShowScrollbar Source #
Whether or not to show the scroll bar in a terminal.
Constructors
ShowScrollbarNever | Never show the scroll bar, even if there are too many lines on the terminal to show all at once. You should still be able to scroll with the mouse wheel. |
ShowScrollbarAlways | Always show the scrollbar, even if it is not needed. |
ShowScrollbarIfNeeded | Only show the scrollbar if there are too many lines on the terminal to show all at once. |
Instances
FromJSON ShowScrollbar Source # | |||||
Defined in Termonad.Types Methods parseJSON :: Value -> Parser ShowScrollbar # parseJSONList :: Value -> Parser [ShowScrollbar] # | |||||
ToJSON ShowScrollbar Source # | |||||
Defined in Termonad.Types Methods toJSON :: ShowScrollbar -> Value # toEncoding :: ShowScrollbar -> Encoding # toJSONList :: [ShowScrollbar] -> Value # toEncodingList :: [ShowScrollbar] -> Encoding # omitField :: ShowScrollbar -> Bool # | |||||
Enum ShowScrollbar Source # | |||||
Defined in Termonad.Types Methods succ :: ShowScrollbar -> ShowScrollbar # pred :: ShowScrollbar -> ShowScrollbar # toEnum :: Int -> ShowScrollbar # fromEnum :: ShowScrollbar -> Int # enumFrom :: ShowScrollbar -> [ShowScrollbar] # enumFromThen :: ShowScrollbar -> ShowScrollbar -> [ShowScrollbar] # enumFromTo :: ShowScrollbar -> ShowScrollbar -> [ShowScrollbar] # enumFromThenTo :: ShowScrollbar -> ShowScrollbar -> ShowScrollbar -> [ShowScrollbar] # | |||||
Generic ShowScrollbar Source # | |||||
Defined in Termonad.Types Associated Types
| |||||
Show ShowScrollbar Source # | |||||
Defined in Termonad.Types Methods showsPrec :: Int -> ShowScrollbar -> ShowS # show :: ShowScrollbar -> String # showList :: [ShowScrollbar] -> ShowS # | |||||
Eq ShowScrollbar Source # | |||||
Defined in Termonad.Types Methods (==) :: ShowScrollbar -> ShowScrollbar -> Bool # (/=) :: ShowScrollbar -> ShowScrollbar -> Bool # | |||||
type Rep ShowScrollbar Source # | |||||
Defined in Termonad.Types type Rep ShowScrollbar = D1 ('MetaData "ShowScrollbar" "Termonad.Types" "termonad-4.6.0.0-8BzNQcxECnY5try4iqBfLb" 'False) (C1 ('MetaCons "ShowScrollbarNever" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ShowScrollbarAlways" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ShowScrollbarIfNeeded" 'PrefixI 'False) (U1 :: Type -> Type))) |
data ShowTabBar Source #
Whether or not to show the tab bar for switching tabs.
Constructors
ShowTabBarNever | Never show the tab bar, even if there are multiple tabs open. This may be confusing if you plan on using multiple tabs. |
ShowTabBarAlways | Always show the tab bar, even if you only have one tab open. |
ShowTabBarIfNeeded | Only show the tab bar if you have multiple tabs open. |
Instances
FromJSON ShowTabBar Source # | |||||
Defined in Termonad.Types | |||||
ToJSON ShowTabBar Source # | |||||
Defined in Termonad.Types Methods toJSON :: ShowTabBar -> Value # toEncoding :: ShowTabBar -> Encoding # toJSONList :: [ShowTabBar] -> Value # toEncodingList :: [ShowTabBar] -> Encoding # omitField :: ShowTabBar -> Bool # | |||||
Enum ShowTabBar Source # | |||||
Defined in Termonad.Types Methods succ :: ShowTabBar -> ShowTabBar # pred :: ShowTabBar -> ShowTabBar # toEnum :: Int -> ShowTabBar # fromEnum :: ShowTabBar -> Int # enumFrom :: ShowTabBar -> [ShowTabBar] # enumFromThen :: ShowTabBar -> ShowTabBar -> [ShowTabBar] # enumFromTo :: ShowTabBar -> ShowTabBar -> [ShowTabBar] # enumFromThenTo :: ShowTabBar -> ShowTabBar -> ShowTabBar -> [ShowTabBar] # | |||||
Generic ShowTabBar Source # | |||||
Defined in Termonad.Types Associated Types
| |||||
Show ShowTabBar Source # | |||||
Defined in Termonad.Types Methods showsPrec :: Int -> ShowTabBar -> ShowS # show :: ShowTabBar -> String # showList :: [ShowTabBar] -> ShowS # | |||||
Eq ShowTabBar Source # | |||||
Defined in Termonad.Types | |||||
type Rep ShowTabBar Source # | |||||
Defined in Termonad.Types type Rep ShowTabBar = D1 ('MetaData "ShowTabBar" "Termonad.Types" "termonad-4.6.0.0-8BzNQcxECnY5try4iqBfLb" 'False) (C1 ('MetaCons "ShowTabBarNever" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ShowTabBarAlways" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ShowTabBarIfNeeded" 'PrefixI 'False) (U1 :: Type -> Type))) |
showTabBarToString :: ShowTabBar -> Text Source #
data ConfigOptions Source #
Configuration options for Termonad.
See defaultConfigOptions
for the default values.
Constructors
ConfigOptions | |
Fields
|
Instances
FromJSON ConfigOptions Source # | |||||
Defined in Termonad.Types Methods parseJSON :: Value -> Parser ConfigOptions # parseJSONList :: Value -> Parser [ConfigOptions] # | |||||
ToJSON ConfigOptions Source # | |||||
Defined in Termonad.Types Methods toJSON :: ConfigOptions -> Value # toEncoding :: ConfigOptions -> Encoding # toJSONList :: [ConfigOptions] -> Value # toEncodingList :: [ConfigOptions] -> Encoding # omitField :: ConfigOptions -> Bool # | |||||
Generic ConfigOptions Source # | |||||
Defined in Termonad.Types Associated Types
| |||||
Show ConfigOptions Source # | |||||
Defined in Termonad.Types Methods showsPrec :: Int -> ConfigOptions -> ShowS # show :: ConfigOptions -> String # showList :: [ConfigOptions] -> ShowS # | |||||
Eq ConfigOptions Source # | |||||
Defined in Termonad.Types Methods (==) :: ConfigOptions -> ConfigOptions -> Bool # (/=) :: ConfigOptions -> ConfigOptions -> Bool # | |||||
type Rep ConfigOptions Source # | |||||
Defined in Termonad.Types type Rep ConfigOptions = D1 ('MetaData "ConfigOptions" "Termonad.Types" "termonad-4.6.0.0-8BzNQcxECnY5try4iqBfLb" 'False) (C1 ('MetaCons "ConfigOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "fontConfig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FontConfig) :*: S1 ('MetaSel ('Just "showScrollbar") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ShowScrollbar)) :*: (S1 ('MetaSel ('Just "scrollbackLen") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "confirmExit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "wordCharExceptions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "showMenu") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "showTabBar") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ShowTabBar) :*: S1 ('MetaSel ('Just "cursorBlinkMode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CursorBlinkMode))) :*: (S1 ('MetaSel ('Just "boldIsBright") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "enableSixel") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "allowBold") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))) |
defaultConfigOptions :: ConfigOptions Source #
The default ConfigOptions
.
>>>
:{
let defConfOpt = ConfigOptions { fontConfig = defaultFontConfig , showScrollbar = ShowScrollbarIfNeeded , scrollbackLen = 10000 , confirmExit = True , wordCharExceptions = "-#%&+,./=?@\\_~\183:" , showMenu = True , showTabBar = ShowTabBarIfNeeded , cursorBlinkMode = CursorBlinkModeOn , boldIsBright = False , enableSixel = False , allowBold = True } in defaultConfigOptions == defConfOpt :} True
The Termonad ConfigOptions
along with the ConfigHooks
.
Constructors
TMConfig | |
Fields
|
defaultTMConfig :: TMConfig Source #
The default TMConfig
.
options
is defaultConfigOptions
and hooks
is defaultConfigHooks
.
newtype ConfigHooks Source #
Hooks into certain termonad operations and VTE events. Used to modify
termonad's behaviour in order to implement new functionality. Fields should
have sane Semigroup
and Monoid
instances so that config extensions can
be combined uniformly and new hooks can be added without incident.
Constructors
ConfigHooks | |
Fields
|
Instances
Show ConfigHooks Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> ConfigHooks -> ShowS # show :: ConfigHooks -> String # showList :: [ConfigHooks] -> ShowS # |
defaultConfigHooks :: ConfigHooks Source #
Default values for the ConfigHooks
.
- The default function for
createTermHook
isdefaultCreateTermHook
.
defaultCreateTermHook :: TMState -> Terminal -> IO () Source #
Default value for createTermHook
. Does nothing.
data FocusNotSameErr Source #
Constructors
FocusListFocusExistsButNoNotebookTabWidget | |
NotebookTabWidgetDiffersFromFocusListFocus | |
NotebookTabWidgetExistsButNoFocusListFocus |
Instances
Show FocusNotSameErr Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> FocusNotSameErr -> ShowS # show :: FocusNotSameErr -> String # showList :: [FocusNotSameErr] -> ShowS # |
data TabsDoNotMatch Source #
Constructors
TabLengthsDifferent Int Int | The first |
TabAtIndexDifferent Int | The tab at index |
Instances
Show TabsDoNotMatch Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> TabsDoNotMatch -> ShowS # show :: TabsDoNotMatch -> String # showList :: [TabsDoNotMatch] -> ShowS # |
data TMWinInvariantErr Source #
An invariant error on a given TMWindow
.
Constructors
FocusNotSame FocusNotSameErr Int | |
TabsDoNotMatch TabsDoNotMatch |
Instances
Show TMWinInvariantErr Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> TMWinInvariantErr -> ShowS # show :: TMWinInvariantErr -> String # showList :: [TMWinInvariantErr] -> ShowS # |
data TMStateInvariantErr Source #
An invariant error on a whole TMState
.
Constructors
TMWinInvariantErr Int TMWinInvariantErr | An invariant error with a given |
Instances
Show TMStateInvariantErr Source # | |
Defined in Termonad.Types Methods showsPrec :: Int -> TMStateInvariantErr -> ShowS # show :: TMStateInvariantErr -> String # showList :: [TMStateInvariantErr] -> ShowS # |
invariantTMWindow :: TMWindow -> IO [TMWinInvariantErr] Source #
invariantTMState' :: TMState' -> IO [TMStateInvariantErr] Source #
Gather up the invariants for TMState
and return them as a list.
If no invariants have been violated, then this function should return an empty list.
assertInvariantTMState :: TMState -> IO () Source #
pPrintTMState :: TMState -> IO () Source #
traceShowMTMState :: TMState -> IO () Source #
Orphan instances
FromJSON CursorBlinkMode Source # | |
Methods parseJSON :: Value -> Parser CursorBlinkMode # parseJSONList :: Value -> Parser [CursorBlinkMode] # | |
ToJSON CursorBlinkMode Source # | |
Methods toJSON :: CursorBlinkMode -> Value # toEncoding :: CursorBlinkMode -> Encoding # toJSONList :: [CursorBlinkMode] -> Value # toEncodingList :: [CursorBlinkMode] -> Encoding # omitField :: CursorBlinkMode -> Bool # |