mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
reset on exit normal terminal colors
This commit is contained in:
parent
5a4bcc36ef
commit
b02ac38aea
1
inxi
1
inxi
|
@ -905,6 +905,7 @@ select_default_color_scheme()
|
||||||
elif [[ $user_selection == $(( $i+2 )) ]];then
|
elif [[ $user_selection == $(( $i+2 )) ]];then
|
||||||
set_color_scheme $DEFAULT_COLOR_SCHEME
|
set_color_scheme $DEFAULT_COLOR_SCHEME
|
||||||
print_screen_output "Ok, exiting $SCRIPT_NAME now. You can set the colors later."
|
print_screen_output "Ok, exiting $SCRIPT_NAME now. You can set the colors later."
|
||||||
|
echo -n "[0m"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
print_screen_output "Error - Invalid Selection. You entered this: $user_selection"
|
print_screen_output "Error - Invalid Selection. You entered this: $user_selection"
|
||||||
|
|
Loading…
Reference in a new issue