mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
yaft: remove unnecessary cfb struct member
This commit is contained in:
@@ -155,7 +155,6 @@ struct sixel_canvas_t {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class CFrameBuffer;
|
|
||||||
struct terminal_t {
|
struct terminal_t {
|
||||||
int fd; /* master of pseudo terminal */
|
int fd; /* master of pseudo terminal */
|
||||||
int width, height; /* terminal size (pixel) */
|
int width, height; /* terminal size (pixel) */
|
||||||
@@ -179,7 +178,6 @@ struct terminal_t {
|
|||||||
struct glyph_t drcs[DRCS_CHARS]; /* DRCS chars */
|
struct glyph_t drcs[DRCS_CHARS]; /* DRCS chars */
|
||||||
struct sixel_canvas_t sixel;
|
struct sixel_canvas_t sixel;
|
||||||
#endif
|
#endif
|
||||||
CFrameBuffer *cfb;
|
|
||||||
std::queue<std::string> txt; /* contains "sanitized" (without control chars) output text */
|
std::queue<std::string> txt; /* contains "sanitized" (without control chars) output text */
|
||||||
int lines_available; /* lines available in txt */
|
int lines_available; /* lines available in txt */
|
||||||
bool nlseen;
|
bool nlseen;
|
||||||
|
@@ -129,7 +129,7 @@ int YaFT::run(void)
|
|||||||
/* global */
|
/* global */
|
||||||
extern volatile sig_atomic_t need_redraw;
|
extern volatile sig_atomic_t need_redraw;
|
||||||
extern volatile sig_atomic_t child_alive;
|
extern volatile sig_atomic_t child_alive;
|
||||||
term.cfb = fb.info.cfb = CFrameBuffer::getInstance();
|
fb.info.cfb = CFrameBuffer::getInstance();
|
||||||
term.txt.push("");
|
term.txt.push("");
|
||||||
term.lines_available = 0;
|
term.lines_available = 0;
|
||||||
term.nlseen = false;
|
term.nlseen = false;
|
||||||
|
Reference in New Issue
Block a user