Permalink
Browse files

pipe in the column example

  • Loading branch information...
1 parent 8f545c0 commit 688df910b6689c0c13e9568493b25b939ddeb2d7 @substack committed May 11, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 example/column.js
View
@@ -1,10 +1,11 @@
-var charm = require('../')(process);
+var charm = require('../')();
+charm.pipe(process.stdout);
charm
.column(16)
.write('beep')
.down()
.column(32)
.write('boop\n')
- .destroy()
+ .end()
;

0 comments on commit 688df91

Please sign in to comment.