detect drawable linux framebuffer #1369
parent
dce4426dcf
commit
2895615e06
@ -0,0 +1,22 @@
|
||||
#ifndef NOTCURSES_LINUX
|
||||
#define NOTCURSES_LINUX
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct tinfo;
|
||||
|
||||
bool is_linux_console(int fd, unsigned no_font_changes, bool* quadrants);
|
||||
|
||||
// if is_linux_console returned true, call this to determine whether it is
|
||||
// a drawable framebuffer console. do not call if not is_linux_console!
|
||||
bool is_linux_framebuffer(struct tinfo* ti);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue