diff options
| author | Petr Mrázek | 2011-07-14 11:15:23 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-07-14 11:15:23 +0200 |
| commit | d21b196766dd263b7776a26628bad82d94447da0 (patch) | |
| tree | 4a19bbfb6e83c4bb9a5f53528ee55614ebf30b70 /library/Console-windows.cpp | |
| parent | f2b46274ec15b81fc49c393302bad26bf80d63b1 (diff) | |
| download | dfhack-d21b196766dd263b7776a26628bad82d94447da0.tar.gz dfhack-d21b196766dd263b7776a26628bad82d94447da0.tar.bz2 dfhack-d21b196766dd263b7776a26628bad82d94447da0.tar.xz | |
Error printing call for Console, the NYAN CAT!
Diffstat (limited to 'library/Console-windows.cpp')
| -rw-r--r-- | library/Console-windows.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/library/Console-windows.cpp b/library/Console-windows.cpp index e0c0fc17..a01b83ce 100644 --- a/library/Console-windows.cpp +++ b/library/Console-windows.cpp @@ -21,6 +21,43 @@ must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ + +/* +Some functions are based on the linenoise win32 port: + +linenoise_win32.c -- Linenoise win32 port. + +Modifications copyright 2010, Jon Griffiths <jon_p_griffiths at yahoo dot com>. +All rights reserved. +Based on linenoise, copyright 2010, Salvatore Sanfilippo <antirez at gmail dot com>. +The original linenoise can be found at: http://github.com/antirez/linenoise + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Redis nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. +*/ + + #include <windows.h> #include <conio.h> #include <stdarg.h> |
