mirror of
https://codeberg.org/vlw/curl.git
synced 2026-04-13 02:39:38 +02:00
fix: keep terminal screen and scrollbuffer
This commit is contained in:
parent
832bea4252
commit
009c69c2f4
1 changed files with 1 additions and 3 deletions
4
curl.sh
4
curl.sh
|
|
@ -63,9 +63,7 @@ fi
|
||||||
# Save the response headers and body
|
# Save the response headers and body
|
||||||
curl_cmd="$curl_cmd -o $RESP_BODY_RAW_FILE -D $RESP_HEADERS_FILE"
|
curl_cmd="$curl_cmd -o $RESP_BODY_RAW_FILE -D $RESP_HEADERS_FILE"
|
||||||
|
|
||||||
# Execute curl
|
# Dispatch request
|
||||||
eval "clear"
|
|
||||||
|
|
||||||
echo -e "\e[0;92mRequest >\e[0m ${method} ${url}"
|
echo -e "\e[0;92mRequest >\e[0m ${method} ${url}"
|
||||||
eval $curl_cmd
|
eval $curl_cmd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue