]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
rlwrap: also limit history size, not that it should matter (10-k lines
authorRudolf Polzer <divverent@xonotic.org>
Mon, 2 Dec 2013 13:50:14 +0000 (14:50 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 2 Dec 2013 13:50:14 +0000 (14:50 +0100)
are more than anyone would type in).

misc/tools/all/xonotic.subr

index 71fe1fef7f061df264d08df9574512455c75b48f..19298c8a4463e9c49081e6489b52bf32db927a02 100644 (file)
@@ -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