summary refs log tree commit diff stats
path: root/lib/pure/terminal.nim
Commit message (Collapse)AuthorAgeFilesLines
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-2/+2
|
* getch() asserts to doAssertsmiere432016-06-261-2/+2
|
* Removed INPUT_KEY_RECORDmiere432016-06-261-11/+6
|
* Implemented terminal.getch() for Windowsmiere432016-06-231-11/+20
|
* make terminal.nim work with --app:guiAraq2015-10-191-2/+4
|
* terminal: Support both styled stdout and stderrAdam Strzelecki2015-10-161-118/+189
| | | | | | | | | | | | This is important if we want to write styled diagnostics to stderr, eg. some tool outputting results to stdout, but writing styled error messages to stderr. Previously this module was assuming we are writing only to stdout. Now all module procs take file handle as first argument. Wrappers assuming stdout are provided for backwards compatibility. The new terminal.styledWriteLine(f, args) is provided and documented as counterpart for unstyled plain writeLine(f, args).
* terminal: Remove superflous hStdout = conHandleAdam Strzelecki2015-10-161-17/+13
| | | | Use just hStdout on Windows to keep handle to process stdout.
* renamed writeln to writeLine in libpatrick dw2015-06-191-3/+3
|
* colors: Introduce resetStyle enum & use templatesAdam Strzelecki2015-06-151-7/+28
| | | | | | | | | 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.
* terminal doesn't use enormous windows module anymoreAraq2015-06-101-22/+81
|
* lib/pure/p-t - Dropped 'T' from typespdw2015-06-041-13/+13
|
* terminal: doc improvmentsAraq2015-05-281-1/+7
|
* Fix Termios wrapperdef2015-04-241-6/+7
|
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+1
|
* don't use conio.h on windows (#2137)Araq2015-03-081-10/+8
|
* Document terminal.getchdef2015-02-041-0/+2
|
* Add terminal.getch to get a single characterdef2015-02-031-0/+26
|
* Fix #1906Varriount2015-01-221-3/+5
|
* updated terminal.nimAraq2014-08-291-6/+6
|
* updated poly.nimAraq2014-08-281-8/+16
|
* more modules updatedAraq2014-08-281-2/+2
|
* big renameAraq2014-08-271-31/+36
|
* case consistency part 6Araq2013-12-281-43/+43
|
* Fixed OSError deprecation warnings.Dominik Picheta2013-06-261-14/+14
|
* Fixed terminal module so that it doesn't raise an EOS exception when stdout ↵Dominik Picheta2013-06-221-334/+332
| | | | is redirected.
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* parameter passing works the same for macros and templates; use callsite ↵Araq2012-08-281-1/+2
| | | | magic to access the invokation AST
* bindSym suffices; no 'bind' for macros anymoreAraq2012-08-251-2/+1
|
* implemented 'bind' for macrosAraq2012-08-241-11/+12
|
* added terminal.isatty; nimgrep version 0.9Araq2012-04-061-2/+13
|
* bugfix: 'when' sections in generic objects now work, so TThread[void] compilesAraq2011-11-201-1/+1
|
* new syntactic construct: a{i}Araq2011-10-081-1/+1
|
* *Pimped up* the test runner with colorful outputZahary Karadjov2011-10-071-5/+33
| | | | Added: terminal.styledEcho macro
* lib/pure/terminal.nim: fixed bug where the styleReverse doesn't work on ↵Keita Haga2011-08-161-37/+37
| | | | Unix-like systems
* bugfix terminal compiles for windows againAraq2011-02-071-9/+9
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* added tools and web dirsAndreas Rumpf2009-09-151-0/+0
|
* version0.7.10Andreas Rumpf2009-06-081-0/+310