on master help sign in
cleanup warnings
5d53e6bCorey O'Connor
src/Graphics/Vty.hs−3
@@ -39,11 +39,8 @@ import Graphics.Vty.Picture
39
39
40import Control.Concurrent
40import Control.Concurrent
41
41
42−import Data.Default
43import Data.IORef
42import Data.IORef
44
43
45−import qualified System.Console.Terminfo as Terminfo
46−
47-- | The main object. At most one should be created.
44-- | The main object. At most one should be created.
48--
45--
49-- The use of Vty typically follows this process:
46-- The use of Vty typically follows this process:
src/Graphics/Vty/Error.hs−2
@@ -1,8 +1,6 @@
1module Graphics.Vty.Error
1module Graphics.Vty.Error
2 where
2 where
3
3
4−import Control.Exception
5−
6-- | The type of exceptions specific to vty.
4-- | The type of exceptions specific to vty.
7--
5--
8-- These have fully qualified names by default since, IMO, exception handling requires this.
6-- These have fully qualified names by default since, IMO, exception handling requires this.
src/Graphics/Vty/Input/Terminfo/ANSI.hs+1
@@ -3,6 +3,7 @@ module Graphics.Vty.Input.Terminfo.ANSI where
3import Graphics.Vty.Input.Events
3import Graphics.Vty.Input.Events
4
4
5-- | Terminals augmented by the built in ANSI input mapping.
5-- | Terminals augmented by the built in ANSI input mapping.
6+supports :: String -> Bool
6supports "ansi" = True
7supports "ansi" = True
7supports _ = False
8supports _ = False
8
9
src/Graphics/Vty/Output/XTermColor.hs−2
@@ -12,8 +12,6 @@ import Control.Applicative
12import Control.Monad.Trans
12import Control.Monad.Trans
13
13
14import Data.Foldable (foldMap)
14import Data.Foldable (foldMap)
15−import qualified Data.Text as T
16−import qualified Data.Text.Encoding as T
17
15
18import System.IO
16import System.IO
19
17
test/current_benchmark_results.txt+9−2
@@ -1,5 +1,12 @@
1+post-blaze-builder
2+2 ghz core i7. NixOS over screen + ssh using Mac iTerm
3+ [("no-diff-opt-0",18,26),("render-char-0",93,140),("render-char-1",26,46),("vertical-scroll-0",190,279),("image-fuzz-0",117,107)]
4+
1−pre-blaze-builder 2.4 ghz intel core duo
5+pre-blaze-builder
6+2.4 ghz intel core duo. Mac iTerm
2−[("no-diff-opt-0",43,9),("render-char-0",345,28),("render-char-1",76,14),("vertical-scroll-0",431,62),("image-fuzz-0",169,21)]
7+ [("no-diff-opt-0",43,9),("render-char-0",345,28),("render-char-1",76,14),("vertical-scroll-0",431,62),("image-fuzz-0",169,21)]
8+2 ghz core i7. NixOS over screen + ssh using Mac iTerm
9+ [("no-diff-opt-0",16,23),("render-char-0",119,182),("render-char-1",32,44),("vertical-scroll-0",164,245),("image-fuzz-0",94,75)]
3
10
4no unclipped opt 5.0
11no unclipped opt 5.0
5on toast
12on toast