mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
notcurses_core_init: kill bogus reset of rstate cursor #2038
This commit is contained in:
parent
02c29fb83e
commit
acbfa8dab0
@ -1168,7 +1168,6 @@ notcurses* notcurses_core_init(const notcurses_options* opts, FILE* outfp){
|
|||||||
free_plane(ret->stdplane);
|
free_plane(ret->stdplane);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
ret->rstate.x = ret->rstate.y = -1;
|
|
||||||
init_banner(ret, &ret->rstate.f);
|
init_banner(ret, &ret->rstate.f);
|
||||||
fwrite(ret->rstate.f.buf, ret->rstate.f.used, 1, ret->ttyfp);
|
fwrite(ret->rstate.f.buf, ret->rstate.f.used, 1, ret->ttyfp);
|
||||||
fbuf_reset(&ret->rstate.f);
|
fbuf_reset(&ret->rstate.f);
|
||||||
|
Loading…
Reference in New Issue
Block a user