mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 16:54:42 +03:00
7b38759846
Ignore-this: 1d31bef2e227fefafe8bb4b6f9511e1d darcs-hash:20090904172928-f0a0d-987b6931294fd33f7825eddc0adf04c81716a4dd.gz
15 lines
502 B
Haskell
15 lines
502 B
Haskell
module Main where
|
|
|
|
import Graphics.Vty.ControlStrings
|
|
|
|
import System.Console.Terminfo
|
|
|
|
main = do
|
|
terminal <- setupTermFromEnv
|
|
control_table <- init_control_table terminal
|
|
putStrLn $ "ANSI terminal show cursor string: " ++ show cvis
|
|
putStrLn $ "Current terminal show cursor string: " ++ show (show_cursor_str control_table)
|
|
putStrLn $ "ANSI terminal hide cursor string: " ++ show civis
|
|
putStrLn $ "Current terminal hide cursor string: " ++ show (hide_cursor_str control_table)
|
|
|