Skip to content
Snippets Groups Projects
  1. Mar 18, 2021
  2. Jan 04, 2021
  3. Jan 03, 2021
  4. Sep 27, 2020
  5. Sep 11, 2020
  6. Aug 26, 2020
  7. Aug 20, 2020
  8. Jul 01, 2020
  9. Jun 21, 2020
  10. May 31, 2020
  11. May 27, 2020
  12. May 26, 2020
  13. May 25, 2020
  14. Feb 12, 2020
  15. Feb 08, 2020
  16. Feb 07, 2020
  17. Jan 03, 2020
  18. Dec 29, 2019
  19. Nov 12, 2019
  20. May 27, 2019
  21. Feb 10, 2019
  22. Jan 28, 2019
    • Judah Jacobson's avatar
      Turn debugTerminalKeys into a single loop. (#111) · 0b4f698d
      Judah Jacobson authored
      Make it a looped KeyCommand inside a single call to runInputCmdT,
      rather than calling runInputCmdT once for each character.
      
      This removes some noise by letting us clear the prompt before printing the key that was read. 
       It also hopefully makes it closer to "real" results when entering multiple keys (e.g., holding them down).
  23. Jan 24, 2019
    • Judah Jacobson's avatar
      Convert the test to a test-suite. (#110) · 3214a170
      Judah Jacobson authored
      This works with `stack` and `cabal new-test`.  The latter
      uses the `build-tool-depends` field to locate the binary.
      
      Also:
      - Remove the reference to the nonexistent main file on Windows.
      - Make the test binary return a nonzero exit code when it fails.
      
      Still TODO: test in CI.
  24. Jan 23, 2019
    • Kamil's avatar
      Define executable targets in the cabal file for tests (#103) · 4e7e0424
      Kamil authored
      This change is motivated to make it easier to run the unit tests:
      
      defined two executable targets in the cabal file
      added run_unit_tests.sh script
      one test is failing independent of the changes:
      
      ```
      Failure in: 0:interaction:2:tab completion:0
      tests/RunTTY.hs:106
      expected: ["dummy-\206\188\206\177\207\131/\r\nbar \207\130\206\181\207\129\207\132\r\n0:dummy-\206\188\206\177\207\131/"]
      but got: ["dummy-\206\188\a\a"]
      ```
      4e7e0424
  25. Jan 22, 2019
    • Judah Jacobson's avatar
      Add the new function `waitForAnyKey`. (#108) · 6b145aac
      Judah Jacobson authored
      Fixes #74 as well enough as Haskeline currently can.  It returns
      a `Bool` rather than `Maybe Key` since Haskeline doesn't expose its
      `Key` type.  But this should be enough for the "press any key to continue"
      functionality described in the feature request.
  26. Jan 21, 2019
  27. Jan 17, 2019
  28. Dec 10, 2018
  29. Oct 20, 2018
  30. Oct 06, 2018
Loading