tinytools-vty-0.1.0.1: a terminal based unicode diagram editing tool
Safe HaskellSafe-Inferred
LanguageHaskell2010

Potato.Reflex.Vty.Widget.TextInputHelpers

Synopsis

Documentation

makeModifyEventFromUpdateTextZipperMethod Source #

Arguments

:: UpdateTextZipperMethod 
-> Event

The vty event to handle

-> TextZipper

The zipper to modify

-> TextZipper 

filenameInputFireEventOnLoseFocus Source #

Arguments

:: (MonadWidget t m, HasPotato t m, HasFocus t m) 
=> Text

initial

-> Event t Text

override input event

-> m (Event t Text)

event that fires when text input loses focus

filenameInput Source #

Arguments

:: (MonadWidget t m, HasPotato t m) 
=> Text

initial

-> Event t Text

override input event

-> m (Dynamic t Text) 

dropSpan :: Int -> [Span Attr] -> [Span Attr] Source #

Turn a Span into an Image