Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 8483b3e6 authored by Deucе's avatar Deucе 👌🏾
Browse files

Set the text mode before scaling and size

Setting the scaling and size before changing modes does weird things.
Those things should be fixed, but at least this makes the problem
go away in SyncTERM for now.
parent c5d69236
......@@ -1624,11 +1624,11 @@ int main(int argc, char **argv)
cio_api.options &= ~CONIO_OPT_BLOCKY_SCALING;
ciolib_reaper=FALSE;
seticon(syncterm_icon.pixel_data,syncterm_icon.width);
textmode(text_mode);
if (settings.scaling_factor)
setscaling(settings.scaling_factor);
if (settings.window_width && settings.window_height)
setwinsize(settings.window_width, settings.window_height);
textmode(text_mode);
gettextinfo(&txtinfo);
if((txtinfo.screenwidth<40) || txtinfo.screenheight<24) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment