Mercurial > projects > dynamin
comparison dynamin/core/unix_console.d @ 77:c9a4850926d9
Remove a couple not helpful comments (because moving memory does not save it) and add a helpful one.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 06 Feb 2010 15:11:57 -0600 |
parents | aa4efef0f0b1 |
children | 73060bc3f004 |
comparison
equal
deleted
inserted
replaced
76:76b081749316 | 77:c9a4850926d9 |
---|---|
31 | 31 |
32 /* | 32 /* |
33 Can get width of console with $COLUMNS | 33 Can get width of console with $COLUMNS |
34 Can get height of console with $LINES | 34 Can get height of console with $LINES |
35 */ | 35 */ |
36 // The control codes are defined in ECMA-48. | |
36 template ConsoleBackend() { | 37 template ConsoleBackend() { |
37 static colorsUsed = false; | 38 static colorsUsed = false; |
38 static ~this() { | 39 static ~this() { |
39 if(colorsUsed) | 40 if(colorsUsed) |
40 backend_resetColors(); | 41 backend_resetColors(); |