From d2c0a7c8cb781dbdbf9c02ef535d5e656a83c26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Falc=C3=A3o?= Date: Wed, 4 Aug 2010 02:19:56 -0300 Subject: [PATCH] implementing file-like filtering. closes #1 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 57b0d29..75cf3f2 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ unix terminal ![stdout filter](http://gnu.gabrielfalcao.com/couleur_filter.png) +#### further + + import sys, couleur + + couleur.proxy(sys.stdout).enable() + print "#{bold}#{red}#{on:yellow}This is#{normal} a test" + couleur.proxy(sys.stdout).disable() + ### dynamic methods couleur has a syntax sugar that is semantically nice: