Permalink
Commits on Jul 24, 2016
  1. Merge pull request #12 from systra/master

    Add missing properties for systools
    committed on GitHub Jul 24, 2016
Commits on Jul 22, 2016
  1. @systra
Commits on Jun 23, 2016
  1. Merge pull request #11 from jimm/jimm/touchwin

    Add touchwin/1
    committed on GitHub Jun 23, 2016
Commits on Jun 22, 2016
  1. @jimm

    Added touchwin/1

    jimm committed Jun 22, 2016
Commits on May 28, 2012
  1. Merge pull request #8 from rafaltrojniak/master

    Missing export of werase
    committed May 28, 2012
Commits on May 16, 2012
  1. @rafaltrojniak

    werase was not exported

    rafaltrojniak committed May 16, 2012
Commits on Mar 18, 2012
  1. @gleber
Commits on Feb 26, 2012
  1. README update

    committed Feb 26, 2012
Commits on Feb 25, 2012
  1. Update outdated email

    committed Feb 25, 2012
Commits on Jan 28, 2012
  1. @andrewtj

    Appease warning

    andrewtj committed Jan 28, 2012
  2. @andrewtj

    Fix R15 compatibility

    andrewtj committed Jan 28, 2012
Commits on Aug 31, 2010
  1. Changed the license to Apache License. Please see the file LICENSE. T…

    …he copyright has been transferred to Erlang Solutions Ltd. The Makefile now use rebar exclusively.
    Mazen Harake committed Aug 31, 2010
Commits on Aug 15, 2010
  1. Changed version number.

    Mazen Harake committed Aug 15, 2010
Commits on Aug 14, 2010
  1. Resetting the driver_select on exit.

    Mazen Harake committed Aug 14, 2010
Commits on Aug 12, 2010
Commits on Aug 11, 2010
  1. Merge remote branch 'origin'

    Mazen Harake committed Aug 11, 2010
Commits on Aug 9, 2010
  1. Changed so that a call to the c port with no arguments now sends

    'undefined' instead of [] so that it is clear that the argument that is
    sent isn't a argument list (like the ones used in apply/3 e.g.). The
    argument is sent as-is to the driver and this should clarify a bit.
    Mazen Harake committed Aug 9, 2010
Commits on Aug 3, 2010
  1. Fixed compilation bug.

    Mazen Harake committed Aug 3, 2010
  2. Added the werase API to clear a window. The erase API now uses werase

    with ceSTDSCR
    Mazen Harake committed Aug 3, 2010
  3. Changed the license to a 2-clause BSD.

    Mazen Harake committed Aug 3, 2010
  4. Changed how the getch() function is called. An async thread is now

    created every time a new character is retrieved.
    Mazen Harake committed Aug 3, 2010
Commits on Aug 2, 2010
  1. Stupid git :(

    Mazen Harake committed Aug 2, 2010
  2. Changed the Makefile to remove obsolete and unnecessary compile flags.

    Updated rebar.config accordingly
    Mazen Harake committed Aug 2, 2010
Commits on Jun 13, 2010
Commits on Jun 11, 2010
  1. @kevsmith

    Fixed type in .app file

    kevsmith committed Jun 11, 2010
  2. Fixed an inconsistency between the changes made for rebar and the Mak…

    …efile. The *.so file would be put in the "wrong" place but the same convention as rebar is used and the *.so file is put in priv/
    committed Jun 11, 2010
  3. @kevsmith

    A bit of clean up

    Rebarified build and fixed small bug with driver loading
    kevsmith committed Jun 11, 2010
Commits on Mar 30, 2010
  1. Fixed up the README a little

    committed Mar 30, 2010
Commits on Mar 29, 2010
  1. Rewrote some of the getch logic to make it behave more in accordance …

    …with the behaviour gen_server. Also cleaned up some unnecessary code lines and made things more readable.
    committed Mar 29, 2010
  2. Updated the README file a bit to conform with the new input functiona…

    …lity. Added a new example.
    committed Mar 29, 2010
Commits on Mar 28, 2010
Commits on Mar 25, 2010
  1. Added async-input.

    The input is now done by ncurses itself. The driver starts a thread that will do getch() continuously and send a message back to Erlang when it has a character. meanwhile if a process asks for a char (cecho:getch()) it will block by first sending a message to the cecho_srv process and "register" itself as waiting and then as soon as a key input is read from the driver it will be sent to it.
    
    If a message is received from the port and no process is waiting for the character then the message will be discarded.
    If a process tries to do cecho:getch() at the same time as another one is already blocking the process that called cecho:getch() last will be killed.
    
    If special characters need to be captured then cecho:keypad/2 must be used to enable keypad mode.
    
    NOTE: erl must be started with +A <N> where N is a number (probably above 40, try e.g. 50 or above) AND the flag -noinput must be given to stop the erlang shell from reading input (and thus competing) with cecho. To test the new feature run cecho_example:input() as follows:
    
    $> pwd
    /home/mazen/dev/repos/cecho
    $> erl -pa ../cecho/ebin/ -noinput -eval 'cecho_example:input(),halt().' +A 50
    $>
    
    Use 'q' to quit.
    committed Mar 25, 2010
  2. Merge commit 'd10041ce14e2f1ba8c52ecea267479156ea1e1c9' into input

    Conflicts:
    	src/cecho.erl
    committed Mar 25, 2010