simon-git: spigot (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Mar 24 19:00:34 GMT 2015


TL;DR:
  c0a832f Refactor the platform-dependent parts of tentative output.
  59f3f0c Support tentative output on Windows.

Repository:     git://git.tartarus.org/simon/spigot.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-03-24 19:00:34

commit c0a832f0fece4e51f7e265134457bb934718e5d8
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=c0a832f0fece4e51f7e265134457bb934718e5d8;hp=15a5525fd8af07fa3b38f9edb5af561edab7be4d
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Mar 24 18:54:33 2015 +0000

    Refactor the platform-dependent parts of tentative output.
    
    I've moved out into separate functions the actual mechanics of
    printing and erasing text in red, so that I can drop in other
    implementations of them not based on terminfo at all.

 main.cpp |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

commit 59f3f0c3f00b109c9e9ecd4acc3959eb4c0ca7f6
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=59f3f0c3f00b109c9e9ecd4acc3959eb4c0ca7f6;hp=c0a832f0fece4e51f7e265134457bb934718e5d8
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Mar 24 18:58:52 2015 +0000

    Support tentative output on Windows.
    
    This only works on proper Windows console devices, because it uses the
    Windows API call SetConsoleTextAttribute() to change the text colour.

 main.cpp |   99 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 84 insertions(+), 15 deletions(-)



More information about the tartarus-commits mailing list