2 * Copyright (C) 2008-2014 Tobias Brunner
3 * Copyright (C) 2008 Martin Willi
4 * Hochschule fuer Technik Rapperswil
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25 typedef enum tty_escape_t tty_escape_t
;
28 * Excape codes for tty colors
31 /** text properties */
37 /** foreground colors */
48 /** background colors */
61 * Get the escape string for a given TTY color, empty string on non-tty fd
63 char* tty_escape_get(int fd
, tty_escape_t escape
);
65 #endif /** TTY_H_ @} */