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 07c561f9 authored by Rob Swindell's avatar Rob Swindell 💬

CRLF after each protocol option when less than 80 column terminal

Beautification for 40 column terminals.
parent 33bc7739
......@@ -980,7 +980,7 @@ void sbbs_t::xfer_prot_menu(enum XFER_TYPE type)
continue;
if(type==XFER_BIDIR && cfg.prot[i]->bicmd[0]==0)
continue;
if(printed && (printed%2)==0)
if(printed && (cols < 80 || (printed%2)==0))
CRLF;
bprintf(text[TransferProtLstFmt],cfg.prot[i]->mnemonic,cfg.prot[i]->name);
printed++;
......
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