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 prompts.
Synopsis
- handlePromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState)
- handlePlSelectPromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState)
- songBulkAddtoNewPl :: Vector Song -> Bool -> HumState -> EventM n HumState
- handleTextPromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState)
- handleYNPromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState)
Documentation
handlePromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState) Source #
Prompt key event dispatch.
handlePlSelectPromptEvent :: HumState -> BrickEvent Name HumEvent -> EventM Name (Next HumState) Source #
Handles key events for playlist select prompt.
songBulkAddtoNewPl :: Vector Song -> Bool -> HumState -> EventM n HumState Source #
Add given songs to new playlist entered in prompt.