Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setupTerm :: String -> IO Terminalterminfo System.Console.Terminfo.Base Initialize the terminfo library to the given terminal entry. Throws a SetupTermError if the terminfo database could not be read.
- Note:* ncurses is not thread-safe; initializing or using multiple Terminals in different threads at the same time can result in memory unsafety.
setupTermFromEnv :: IO Terminalterminfo System.Console.Terminfo.Base Initialize the terminfo library, using the TERM environmental variable. If TERM is not set, we use the generic, minimal entry dumb. Throws a SetupTermError if the terminfo database could not be read.
setBackgroundColor :: TermStr s => Capability (Color -> s)terminfo System.Console.Terminfo.Color Sets the background color of all further text output, using either the setab or setb capability.
setForegroundColor :: TermStr s => Capability (Color -> s)terminfo System.Console.Terminfo.Color Sets the foreground color of all further text output, using either the setaf or setf capability.
setAttributes :: TermStr s => Capability (Attributes -> s)terminfo System.Console.Terminfo.Effects Sets the attributes on or off. This capability will always succeed; properties which cannot be set in the current terminal will be ignored.
setCharCallback :: Window -> Maybe CharCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the user types a character See glfwSetCharCallback
setCharModsCallback :: Window -> Maybe CharModsCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use with Unicode characters regardless of what modifier keys are used. See glfwSetCharModsCallback
setClipboardString :: Window -> String -> IO ()GLFW-b Graphics.UI.GLFW The window that will own the clipboard contents, and also the clipboard string. See glfwSetClipboardString
setCursor :: Window -> Cursor -> IO ()GLFW-b Graphics.UI.GLFW Sets the cursor image to be used when the cursor is over the client area of the specified window. The set cursor will only be visible when the cursor mode of the window is GLFW_CURSOR_NORMAL.
setCursorEnterCallback :: Window -> Maybe CursorEnterCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback for when the cursor enters or leaves the client area. See Cursor Enter/Leave Events