Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 8, 2015
Commits on Apr 7, 2015
  1. added mouse scrolling keys and input sequence parsing, updated header…

    thinkyfish authored
    …s and python module
  2. added mouse release key support

    thinkyfish authored
Commits on Mar 23, 2015
  1. @adsr
Commits on Mar 10, 2015
  1. @adsr
Commits on Feb 10, 2015
  1. Rename 'mouse_x/y' to 'x' and 'y'.

    This is because in future fields 'w' and 'h' will be declared as deprecated
    and 'x'/'y' will be used for RESIZE events as well. Long term plan.
  2. Fix keyboard demo.

Commits on Feb 9, 2015
  1. @jonasp

    add mouse_input to demo

    jonasp authored
  2. @jonasp

    bugfix in tb_select_input_mode

    jonasp authored
    1) don’t reset input_mouse when querying
    2) flush buffer to set input_mouse
  3. @jonasp
Commits on Feb 1, 2015
  1. @adsr
Commits on Jan 18, 2015
  1. Rewrite input reading code, so that it behaves well on more platforms.

    Fixes #46.
    Tested it on xterm linux, urxvt linux and mintty cygwin.
Commits on Jan 14, 2015
  1. @utkarshkukreti
Commits on Dec 13, 2014
  1. @waywardmonkeys

    Fix typos.

    waywardmonkeys authored
Commits on Dec 1, 2014
  1. Add 'tb_cell_buffer' function, for direct back buffer access.

    'tb_blit' is now deprecated, of course it will stay there for backward
  2. Fix typo and formatting.

    Typo was: 'fg' -> 'fgcol'.
Commits on Sep 15, 2014
  1. Update waf. Fixes #39.

Commits on Sep 14, 2014
  1. @kropelka

    Workaround for changes in 3.4 CPython

    kropelka authored
    Build is broken in Python 3.4, because someone had an idea to enforce ISO C90 standard on all C source code. Without manually disabling them compilation breaks pretty easily on the beginning of utf8.c (`int i` in bad place...).
Commits on Sep 12, 2014
  1. Add a link to PHP wrapper.

Commits on Aug 19, 2014
  1. Replace tb_blit version with a better one.

    It doesn't change the behaviour, only extends it. Adds support for the
    following conditions:
     - source buffers that are larger than the target back buffer
     - blitting to positions that are partially outside of the back buffer
Commits on Aug 12, 2014
  1. @sgbeal

    a) initialize termw and termh to -1.

    sgbeal authored
    b) make an API guaranty that the screen dimensions are "negative" (no
    need to say -1) if tb_init() has not been called or if tb_shutdown()
    has been called without a subsequent tb_init() (i.e., if we're in tb
    screen mode).
    c) in tb_shutdown(), set termw/termh back to -1.
Commits on Jul 23, 2014
Commits on Jul 22, 2014
  1. Make interface a bit more friendly towards C89.

    On the other hand stdint.h is still there, afaik it's from C99.
Commits on Feb 8, 2014
  1. Oops. Fix #33 truly now.

  2. Convert ints to uints before doing boundary checks. Fixes #33.

    That will make negative numbers very large and discard them as a result.
Something went wrong with that request. Please try again.