diff --git a/src/gui/widget/yaft/yaft.h b/src/gui/widget/yaft/yaft.h index 3262d9a59..6061eea93 100644 --- a/src/gui/widget/yaft/yaft.h +++ b/src/gui/widget/yaft/yaft.h @@ -155,7 +155,6 @@ struct sixel_canvas_t { }; #endif -class CFrameBuffer; struct terminal_t { int fd; /* master of pseudo terminal */ int width, height; /* terminal size (pixel) */ @@ -179,7 +178,6 @@ struct terminal_t { struct glyph_t drcs[DRCS_CHARS]; /* DRCS chars */ struct sixel_canvas_t sixel; #endif - CFrameBuffer *cfb; std::queue txt; /* contains "sanitized" (without control chars) output text */ int lines_available; /* lines available in txt */ bool nlseen; diff --git a/src/gui/widget/yaft/yaft_class.cpp b/src/gui/widget/yaft/yaft_class.cpp index ccea7acf2..8bc9d9596 100644 --- a/src/gui/widget/yaft/yaft_class.cpp +++ b/src/gui/widget/yaft/yaft_class.cpp @@ -129,7 +129,7 @@ int YaFT::run(void) /* global */ extern volatile sig_atomic_t need_redraw; extern volatile sig_atomic_t child_alive; - term.cfb = fb.info.cfb = CFrameBuffer::getInstance(); + fb.info.cfb = CFrameBuffer::getInstance(); term.txt.push(""); term.lines_available = 0; term.nlseen = false;