on master help sign in
cleanup warnings
commit5d53e6b8982827a9ae2eab177cd478e5bd5e1bcf authorCorey O'Connor <coreyoconnor@gmail.com> dateTue 28 Jan 2014, 22:48 (13 years ago) parentd8007cb
5 files changed+10−9
src/Graphics/Vty.hs−3 src/Graphics/Vty/Error.hs−2 src/Graphics/Vty/Input/Terminfo/ANSI.hs+1 src/Graphics/Vty/Output/XTermColor.hs−2 test/current_benchmark_results.txt+9−2
src/Graphics/Vty.hs−3
@@ -39,11 +39,8 @@ import Graphics.Vty.Picture
3939
4040import Control.Concurrent
4141
42−import Data.Default
4342import Data.IORef
4443
45−import qualified System.Console.Terminfo as Terminfo
46−
4744-- | The main object. At most one should be created.
4845--
4946-- The use of Vty typically follows this process:
src/Graphics/Vty/Error.hs−2
@@ -1,8 +1,6 @@
11module Graphics.Vty.Error
22 where
33
4−import Control.Exception
5−
64-- | The type of exceptions specific to vty.
75--
86-- 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
33import Graphics.Vty.Input.Events
44
55-- | Terminals augmented by the built in ANSI input mapping.
6+supports :: String -> Bool
67supports "ansi" = True
78supports _ = False
89
src/Graphics/Vty/Output/XTermColor.hs−2
@@ -12,8 +12,6 @@ import Control.Applicative
1212import Control.Monad.Trans
1313
1414import Data.Foldable (foldMap)
15−import qualified Data.Text as T
16−import qualified Data.Text.Encoding as T
1715
1816import System.IO
1917
test/current_benchmark_results.txt+9−2
@@ -1,5 +1,12 @@
1−pre-blaze-builder 2.4 ghz intel core duo
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)]
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+
5+pre-blaze-builder
6+2.4 ghz intel core duo. Mac iTerm
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)]
310
411no unclipped opt 5.0
512on toast