summary refs log tree commit diff stats
path: root/lib/pure/terminal.nim
Commit message (Collapse)AuthorAgeFilesLines
* terminal.nim: code cleanupAndreas Rumpf2018-01-181-41/+27
|
* Support truecolor for the terminal stdlib module (#6936)Dmitry Atamanov2018-01-181-14/+177
|
* Windows: fix a eraseLine bug (#7044)Dmitry Atamanov2018-01-091-3/+2
|
* Windows: fixes getch bug; fixes #6966 (#7031)Dmitry Atamanov2018-01-051-1/+4
|
* Fixed compilation error (#6979)Yuriy Glukhov2017-12-271-4/+4
|
* fix #6931 terminal.eraseline() gives OverflowError on Windows (#6933)skilchen2017-12-171-2/+2
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-7/+4
|
* tiny docstring fix; fixes #5483 (#5484)Fabian Keller2017-03-051-1/+1
|
* make tests on Windows green under --pedanticAraq2017-02-021-1/+1
|
* Add terminalHeight, terminalHeightIoctl & terminalSizeJohn Novak2016-11-301-0/+48
|
* Merge pull request #5058 from johnnovak/terminal-win-fixAndreas Rumpf2016-11-291-3/+6
|\ | | | | Fix setStyle for Windows
| * Fix setStyle for WindowsJohn Novak2016-11-261-3/+6
| | | | | | | | | | | | * setStyle did not take the current color flags into account on Windows, this is fixed now * refactoring to get rid of magic constants
* | Add hideCursor & showCursorJohn Novak2016-11-261-0/+40
|/
* Use new name for call to low-level terminalWidth.Charles Blake2016-09-011-3/+3
|
* Make Windows part match Unix part more closely per Araq request.Charles Blake2016-09-011-8/+7
|
* Change type name to be more NEP-1-ish as per Araq request.Charles Blake2016-09-011-1/+1
|
* Convert TaintedString to string.Charles Blake2016-09-011-1/+1
|
* Oops - L_ctermid must be a global var to compile.Charles Blake2016-09-011-2/+2
|
* Add terminal.terminalWidth and supporting types/calls.Charles Blake2016-09-011-1/+44
|
* 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
|