diff --git a/inxi b/inxi index 4ca380e..c212608 100755 --- a/inxi +++ b/inxi @@ -842,6 +842,11 @@ select_default_color_scheme() eval $LOGFS local spacer=' ' options='' user_selection='' config_variable='' local config_file="$HOME/.$SCRIPT_NAME/$SCRIPT_NAME.conf" + local irc_clear="" + + if [[ $B_RUNNING_IN_SHELL != 'true' ]];then + irc_clear='' + fi # first make output neutral so it's just plain default for console client set_color_scheme "0" print_screen_output "Welcome to $SCRIPT_NAME! Please select the default $COLOR_SELECTION color scheme." @@ -858,16 +863,16 @@ select_default_color_scheme() spacer=' ' fi set_color_scheme $i - print_screen_output " $i)$spacer${C1}Card:${C2} nVidia G86 [GeForce 8400 GS] ${C1}X.Org${C2} 1.7.7" + print_screen_output "$irc_clear $i)$spacer${C1}Card:${C2} nVidia G86 [GeForce 8400 GS] ${C1}X.Org${C2} 1.7.7" done set_color_scheme 0 - echo -n "" if [[ $B_RUNNING_IN_SHELL == 'true' ]];then - print_screen_output " $i)$spacer Remove all color settings. Restore $SCRIPT_NAME default." - print_screen_output " $(($i+1)))$spacer Continue, no changes or config file setting." - print_screen_output " $(($i+2)))$spacer Exit, use another terminal, or set manually." - print_screen_output "------------------------------------------------------------------------------" + echo -n "" + print_screen_output "$irc_clear $i)$spacer Remove all color settings. Restore $SCRIPT_NAME default." + print_screen_output "$irc_clear $(($i+1)))$spacer Continue, no changes or config file setting." + print_screen_output "$irc_clear $(($i+2)))$spacer Exit, use another terminal, or set manually." + print_screen_output "------------------------------------------------------------------------------" print_screen_output "Simply type the number for the color scheme that looks best to your eyes for your $COLOR_SELECTION settings" print_screen_output "and hit ENTER. NOTE: You can bring this option list up by starting $SCRIPT_NAME with option: -c plus one of these numbers:" print_screen_output "94 (console, no X); 95 (terminal, X); 96 (irc, X); 97 (irc, X, in terminal); 98 (irc, no X); 99 (global)."