term->tempsblines = 0;
void term_clrsb(Terminal *term){    unsigned long *line;    term->disptop = 0;    while ((line = delpos234(term->scrollback, 0)) != NULL) {	sfree(line);    }    term->alt_sblines = 0;    update_sbar(term);}