2024-10-24 21:31:22 +01:00
|
|
|
#ifndef _BLUELIB_PRINT_H_
|
|
|
|
|
#define _BLUELIB_PRINT_H_
|
|
|
|
|
|
2024-11-14 16:56:12 +00:00
|
|
|
#include <blue/core/misc.h>
|
2024-10-24 21:31:22 +01:00
|
|
|
#include <blue/term.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
2024-11-14 16:56:12 +00:00
|
|
|
BLUE_API int z__b_stream_is_tty(FILE *fp);
|
|
|
|
|
BLUE_API int z__b_stream_dimensions(FILE *fp, unsigned int *w, unsigned int *h);
|
|
|
|
|
BLUE_API int z__b_stream_cursorpos(
|
2024-10-24 21:31:22 +01:00
|
|
|
FILE *in, FILE *out, unsigned int *x, unsigned int *y);
|
|
|
|
|
|
|
|
|
|
#endif
|