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

Commits (1)
  • Deucе's avatar
    Small fixes for ugetstr() · 295ae393
    Deucе authored
    - Backtab also exits with K_TABEXIT when the string is selected
    - Backspace scrolls the text to the left of the cursor to the right
      if the left of the input is not the start of the string.
    295ae393
......@@ -2168,6 +2168,7 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
if(f == CR
|| (f >= 0xff && f != CIO_KEY_DC)
|| (f == 3840 && mode&K_TABEXIT) // Backtab
|| (f == '\t' && mode&K_TABEXIT)
|| (f == '%' && mode&K_SCANNING)
|| f==CTRL_B
......@@ -2321,6 +2322,8 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
for(k=i;k<=j;k++)
str[k]=str[k+1];
}
if (soffset > 0)
soffset--;
continue;
}
break;
......