From: Rudolf Polzer Date: Mon, 2 Dec 2013 13:50:14 +0000 (+0100) Subject: rlwrap: also limit history size, not that it should matter (10-k lines X-Git-Tag: xonotic-v0.8.0~56 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9a0caea55be2963eb28453d7a0786f26441786d;p=xonotic%2Fxonotic.git rlwrap: also limit history size, not that it should matter (10-k lines are more than anyone would type in). --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 71fe1fef..19298c8a 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -333,7 +333,7 @@ case "$cmd" in set -- catchsegv "$@" fi if [ x"$USE_RLWRAP" != x"no" ] && which rlwrap >/dev/null 2>&1; then - set -- rlwrap -A -g '^quit' -q "\"" -S ']' -w 100 "$@" + set -- rlwrap -A -g '^quit' -q "\"" -s 10000 -S ']' -w 100 "$@" fi rm -f xonotic.core "$@" || true