X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fterminal-util.h;h=561045871eae411c6c877b6f828dc7d6f92b815a;hp=38f91514d5ee42103afabdf26a34074cf15a50e2;hb=c60d32aa37fc0b10451b0d392d90b3b96eb88ebc;hpb=33863e9c1572a093818e4559e69ca02452b60d5c diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h index 38f91514d..561045871 100644 --- a/src/basic/terminal-util.h +++ b/src/basic/terminal-util.h @@ -68,6 +68,7 @@ int vt_disallocate(const char *name); char *resolve_dev_console(char **active); #endif // 0 +int get_kernel_consoles(char ***consoles); bool tty_is_vc(const char *tty); #if 0 /// UNNEEDED by elogind bool tty_is_vc_resolve(const char *tty); @@ -93,6 +94,7 @@ void columns_lines_cache_reset(int _unused_ signum); #endif // 0 bool on_tty(void); +bool terminal_is_dumb(void); bool colors_enabled(void); static inline const char *ansi_underline(void) {