1{-# LANGUAGE BangPatterns #-}
2module BenchNoDiffOpt where
4{-# LANGUAGE BangPatterns #-}
7import Control.Concurrent( threadDelay )
8import Control.Monad( liftM2 )
10import qualified Data.ByteString.Char8 as B
13import System.Environment( getArgs )
18 let fixed_gen = mkStdGen 0
21 DisplayRegion w h <- display_bounds $ terminal vty
22 let image_0 = char_fill def_attr 'X' w h
23 let image_1 = char_fill def_attr '0' w h
24 flip_out vty 300 image_0 image_1
27flip_out vty n image_0 image_1 =
28 let !p_left = pic_for_image image_0
29 !p_right = pic_for_image image_1
31 w_left n = update vty p_left >> w_right (n-1)
33 w_right n = update vty p_right >> w_left (n-1)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list