Commit graph

82 commits

Author SHA1 Message Date
patrick dw
15e7fe787a renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
Adam Strzelecki
1057770ce5 colors: Introduce resetStyle enum & use templates
1. Introduce TerminalCmd enum and resetStyle that can be issued to issue
   resetAttributes within styledEcho arguments.

2. Use templates to resolve styledEcho arguments for performance reasons.

3. Try to avoid calling trailing write "\n" and reset attributes where possible.
2015-06-15 11:26:53 +02:00
Araq
d4610d7716 terminal doesn't use enormous windows module anymore 2015-06-10 11:32:10 +02:00
pdw
d18e18060e lib/pure/p-t - Dropped 'T' from types 2015-06-04 13:18:36 +02:00
Araq
3c13508b25 terminal: doc improvments 2015-05-28 12:51:17 +02:00
def
e5a186a419 Fix Termios wrapper 2015-04-24 19:41:12 +02:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
Araq
419199bf9a don't use conio.h on windows (#2137) 2015-03-08 14:45:06 +01:00
def
8640efcd40 Document terminal.getch 2015-02-04 14:10:58 +01:00
def
f3124e6de4 Add terminal.getch to get a single character 2015-02-03 17:27:59 +01:00
Varriount
41d11e0def Fix #1906 2015-01-22 18:34:33 -05:00
Araq
28c3de7d3e updated terminal.nim 2014-08-29 01:02:04 +02:00
Araq
649dfa09c4 updated poly.nim 2014-08-28 08:50:01 +02:00
Araq
e12f9518cc more modules updated 2014-08-28 01:54:36 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
bf205fa85d case consistency part 6 2013-12-28 01:17:02 +01:00
Dominik Picheta
9686d92bfc Fixed OSError deprecation warnings. 2013-06-26 00:00:07 +01:00
Dominik Picheta
9540a93d95 Fixed terminal module so that it doesn't raise an EOS exception when stdout is redirected. 2013-06-22 19:57:12 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
b4844a189d parameter passing works the same for macros and templates; use callsite magic to access the invokation AST 2012-08-28 22:15:29 +02:00
Araq
9a7f0cd851 bindSym suffices; no 'bind' for macros anymore 2012-08-25 01:34:50 +02:00
Araq
c7ba6f5eb6 implemented 'bind' for macros 2012-08-24 01:18:03 +02:00
Araq
ba3f90cc25 added terminal.isatty; nimgrep version 0.9 2012-04-06 21:26:48 +02:00
Araq
72651de710 bugfix: 'when' sections in generic objects now work, so TThread[void] compiles 2011-11-20 16:13:03 +01:00
Araq
c138cc36b4 new syntactic construct: a{i} 2011-10-08 02:14:42 +02:00
Zahary Karadjov
4a444bf6db *Pimped up* the test runner with colorful output
Added: terminal.styledEcho macro
2011-10-07 17:10:04 +03:00
Keita Haga
b40d55b68e lib/pure/terminal.nim: fixed bug where the styleReverse doesn't work on Unix-like systems 2011-08-16 01:48:56 +09:00
Araq
77d045b3ac bugfix terminal compiles for windows again 2011-02-07 00:04:31 +01:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
66a7e3d37c added tools and web dirs 2009-09-15 23:22:22 +02:00
Andreas Rumpf
4d4b3b1c04 version0.7.10 2009-06-08 08:06:25 +02:00
Renamed from lib/base/terminal.nim (Browse further)