An error occurred while fetching folder content.
search: trim a failed search string for width instead of length
David Lawrence Ramsey authored
When reducing the search string to at most half the screen width,
it should employ its width in columns, not its length in bytes.

Also adjust the type of a variable.

This fixes http://savannah.gnu.org/bugs/?52057.
5561d22f
Name Last commit Last update