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 |
Synopsis
- data CursorBlinkMode
- data CursorShape
- data EraseBinding
- data Format
- data PtyError
- catchPtyError :: IO a -> (PtyError -> GErrorMessage -> IO a) -> IO a
- handlePtyError :: (PtyError -> GErrorMessage -> IO a) -> IO a -> IO a
- data RegexError
- catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a
- handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TextBlinkMode
- data WriteFlags
Enumerations
CursorBlinkMode
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 |
Instances
CursorShape
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 |
Instances
EraseBinding
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 |
Instances
Format
An enumeratio type that can be used to specify the format the selection should be copied to the clipboard in.
Since: 0.50
FormatText | Export as plain text |
FormatHtml | Export as HTML formatted text |
AnotherFormat Int | Catch-all for unknown values |
PtyError
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 |
Instances
Enum PtyError Source # | |
Eq PtyError Source # | |
Ord PtyError Source # | |
Defined in GI.Vte.Enums | |
Show PtyError Source # | |
GErrorClass PtyError Source # | |
Defined in GI.Vte.Enums gerrorClassDomain :: PtyError -> Text # | |
BoxedEnum PtyError Source # | |
Defined in GI.Vte.Enums boxedEnumType :: PtyError -> IO GType # |
catchPtyError :: IO a -> (PtyError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type PtyError
. This is a specialized version of catchGErrorJustDomain
.
handlePtyError :: (PtyError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type PtyError
. This is a specialized version of handleGErrorJustDomain
.
RegexError
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 |
Instances
catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type RegexError
. This is a specialized version of catchGErrorJustDomain
.
handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type RegexError
. This is a specialized version of handleGErrorJustDomain
.
TextBlinkMode
data TextBlinkMode Source #
An enumerated type which can be used to indicate whether the terminal allows the text contents to be blinked.
Since: 0.52
TextBlinkModeNever | Do not blink the text. |
TextBlinkModeFocused | Allow blinking text only if the terminal is focused. |
TextBlinkModeUnfocused | Allow blinking text only if the terminal is unfocused. |
TextBlinkModeAlways | Allow blinking text. This is the default. |
AnotherTextBlinkMode Int | Catch-all for unknown values |
Instances
WriteFlags
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 |