Files
mop3/libu/tscreen.h
kamkow1 6c01de8b0d
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 40s
Build documentation / build-and-deploy (push) Successful in 26s
Merge all libs into libu
2026-04-12 13:45:37 +02:00

18 lines
703 B
C

#ifndef ANSIQ_SCREEN_H
#define ANSIQ_SCREEN_H
#include <tcommon.h>
/* clang-format off */
#define ANSIQ_SCR_CLR2END ANSIQ_ESC"[0J" // Clear to end of screen
#define ANSIQ_SCR_CLR2BEG ANSIQ_ESC"[1J" // Clear to begining of screen
#define ANSIQ_SCR_CLR_ALL ANSIQ_ESC"[2J" // Clear entire screen
#define ANSIQ_SCR_CLR_SAV ANSIQ_ESC"[3J" // Clear saved lines
#define ANSIQ_SCR_CLR2LEND ANSIQ_ESC"[0K" // Clear to end of line
#define ANSIQ_SCR_CLR2LBEG ANSIQ_ESC"[1K" // Clear to begining of line
#define ANSIQ_SCR_CLR_LINE ANSIQ_ESC"[2K" // Clear entire line
#define ANSIQ_SCR_RESTORE ANSIQ_ESC"[?1049l"
#define ANSIQ_SCR_SAVE ANSIQ_ESC"[?1049h"
/* clang-format on */
#endif /* ANSIQ_SCREEN_H */