Copyright | (c) Itai Y. Efrat 2020-2021 |
---|---|
License | GPLv2-or-later (see LICENSE) |
Maintainer | Itai Y. Efrat <itai3397@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Functions for the ex mode style prompt.
Documentation
exEnd :: HumState -> EventM Name (Next HumState) Source #
Executed after pressing enter in the ex mode prompt. Either executes the command, or updates the search state for n/N to work.
handleExEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState) Source #
Handle key inputs for ex mode.
exPrefixTxt :: ExSubMode -> Text Source #
Prefix of ex mode prompt.