Clear screen on prompt [ci skip]

This commit is contained in:
abejgonzalez
2023-04-20 14:48:54 -07:00
parent 6d8680be60
commit 482f91d0e5
2 changed files with 2 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ restore_bash_options
if [ "$git_tag_rc" -ne 0 ]; then
if [ "$FORCE" == false ]; then
while true; do
printf '\033[2J'
read -p "WARNING: You are not on an official release of Chipyard."$'\n'"Type \"y\" to continue if this is intended or \"n\" if not: " validate
case "$validate" in
y | Y)