cursedcsv 0.1.1 → 0.1.2
raw patch · 2 files changed
+14/−9 lines, 2 files
Files
- code/CursedCSV.hs +9/−1
- cursedcsv.cabal +5/−8
code/CursedCSV.hs view
@@ -1,7 +1,8 @@ {-# LANGUAGE BangPatterns, FlexibleContexts, PatternGuards,- ScopedTypeVariables+ ScopedTypeVariables,+ CPP #-} module Main where@@ -29,7 +30,10 @@ import UI.HSCurses.CursesHelper import qualified Algorithms.NaturalSort as NS import System.Console.ParseArgs+#if defined(mingw32_HOST_OS) || defined(__MINGW32__)+#else import System.Posix.Signals+#endif -- Util --@@ -675,7 +679,11 @@ keyTreeNoHelp h w regex = ("",[([KeyChar 'h',KeyChar '?'], return (), "")]) : keyTree h w regex suspendMe :: CsvM ()+#if defined(mingw32_HOST_OS) || defined(__MINGW32__)+suspendMe = return ()+#else suspendMe = liftIO $ raiseSignal sigTSTP+#endif keyTree :: Int -> Int -> Maybe Regex -> KeyTree keyTree h w regex = [
cursedcsv.cabal view
@@ -1,8 +1,5 @@--- showcsv.cabal auto-generated by cabal init. For additional options,--- see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. Name: cursedcsv-Version: 0.1.1+Version: 0.1.2 Synopsis: Terminal tool for viewing tabular data Description: Curses-based tool for quick display, searching, sorting, etc. of tabular data. Help available in the app with either '?' or 'h'.@@ -18,14 +15,14 @@ Executable cursedcsv Main-is: CursedCSV.hs- Build-depends: base >= 4 && < 6, unix >= 2.4, parseargs >= 0.1.3, natural-sort >= 0.1.1,+ Build-depends: base >= 4 && < 6, parseargs >= 0.1.3, natural-sort >= 0.1.1, hscurses >= 1.4, regex-tdfa >= 1.1.8, safe >= 0.3, mtl >= 2, csv-enumerator > 0.9, enumerator >= 0.4, bytestring > 0.9+ if !os(windows)+ Build-depends: unix >= 2.4 ghc-options: -Wall hs-source-dirs: code source-repository head type: darcs- location: http://patch-tag.com/r/gershomb/cursedcsv- -- Other-modules:- -- Build-tools:+ location: http://hub.darcs.net/gershomb/cursedcsv