Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a
- handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchPtyError :: IO a -> (PtyError -> GErrorMessage -> IO a) -> IO a
- handlePtyError :: (PtyError -> GErrorMessage -> IO a) -> IO a -> IO a
- data WriteFlags
- data RegexError
- data PtyError
- data EraseBinding
- data CursorShape
- data CursorBlinkMode
Documentation
catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a Source #
handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
catchPtyError :: IO a -> (PtyError -> GErrorMessage -> IO a) -> IO a Source #
handlePtyError :: (PtyError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Exported types
data WriteFlags Source #
A flag type to determine how terminal contents should be written to an output stream.
WriteFlagsDefault | Write contents as UTF-8 text. This is the default. |
AnotherWriteFlags Int | Catch-all for unknown values |
data RegexError Source #
An enum type for regex errors. In addition to the values listed above, any PCRE2 error values may occur.
Since: 0.46
RegexErrorIncompatible | The PCRE2 library was built without Unicode support which is required for VTE |
RegexErrorNotSupported | Regexes are not supported because VTE was built without PCRE2 support |
AnotherRegexError Int | Catch-all for unknown values |
No description available in the introspection data.
PtyErrorPtyHelperFailed | Obsolete. Deprecated: 0.42 |
PtyErrorPty98Failed | failure when using PTY98 to allocate the PTY |
AnotherPtyError Int | Catch-all for unknown values |
data EraseBinding Source #
An enumerated type which can be used to indicate which string the terminal should send to an application when the user presses the Delete or Backspace keys.
EraseBindingAuto | For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence. |
EraseBindingAsciiBackspace | Send an ASCII backspace character (0x08). |
EraseBindingAsciiDelete | Send an ASCII delete character (0x7F). |
EraseBindingDeleteSequence | Send the "@ |
EraseBindingTty | Send terminal's "erase" setting. |
AnotherEraseBinding Int | Catch-all for unknown values |
data CursorShape Source #
An enumerated type which can be used to indicate what should the terminal draw at the cursor position.
CursorShapeBlock | Draw a block cursor. This is the default. |
CursorShapeIbeam | Draw a vertical bar on the left side of character. This is similar to the default cursor for other GTK+ widgets. |
CursorShapeUnderline | Draw a horizontal bar below the character. |
AnotherCursorShape Int | Catch-all for unknown values |
data CursorBlinkMode Source #
An enumerated type which can be used to indicate the cursor blink mode for the terminal.
CursorBlinkModeSystem | Follow GTK+ settings for cursor blinking. |
CursorBlinkModeOn | Cursor blinks. |
CursorBlinkModeOff | Cursor does not blink. |
AnotherCursorBlinkMode Int | Catch-all for unknown values |