diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-04-15 16:05:41 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-15 16:05:41 -0400 |
commit | 38a4db66e7e166f3b92f15e1c66d6707fcbab69d (patch) | |
tree | a7b8de09a5c532d97c73598860000eddb7216a4e /src/shared/util.h | |
parent | 5ad9610b49875b6d65c56600d5b98d1afc11a4bd (diff) |
Ronny Chevalier <chevalier.ronny@gmail.com>shared: add terminal-util.[ch]
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index c5e535069c..0dc46f103f 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -50,16 +50,6 @@ #define FORMAT_BYTES_MAX 8 -#define ANSI_HIGHLIGHT_ON "\x1B[1;39m" -#define ANSI_RED_ON "\x1B[31m" -#define ANSI_HIGHLIGHT_RED_ON "\x1B[1;31m" -#define ANSI_GREEN_ON "\x1B[32m" -#define ANSI_HIGHLIGHT_GREEN_ON "\x1B[1;32m" -#define ANSI_HIGHLIGHT_YELLOW_ON "\x1B[1;33m" -#define ANSI_HIGHLIGHT_BLUE_ON "\x1B[1;34m" -#define ANSI_HIGHLIGHT_OFF "\x1B[0m" -#define ANSI_ERASE_TO_END_OF_LINE "\x1B[K" - size_t page_size(void) _pure_; #define PAGE_ALIGN(l) ALIGN_TO((l), page_size()) @@ -223,8 +213,6 @@ bool hidden_file(const char *filename) _pure_; } \ struct __useless_struct_to_allow_trailing_semicolon__ -int open_terminal(const char *name, int mode); - int flush_fd(int fd); int fopen_temporary(const char *path, FILE **_f, char **_temp_path); |