Project

General

Profile

Actions

Bug #3757

closed

sometimes color output is wrong

Added by Ohad Levy over 10 years ago. Updated about 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When starting in interactive mode, and selecting an option, sometimes, you can get some of the below output.

59. Back to main menu
Choose an option from the menu... 
Ambiguous choice.  Please choose one of ["1", "2", "3", "4", "5", "6", "7", "8",
"9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21",
"22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34",
"35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47",
"48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
"Enable/disable foreman_proxy module, current value:
\e[1m\e[36m\e[40mtrue\e[0m", "Set \e[1m\e[37m\e[40mdhcp_config\e[0m, current
value: \e[1m\e[36m\e[40m/etc/dhcp/dhcpd.conf\e[0m", "Set
\e[1m\e[37m\e[40mdns_reverse\e[0m, current value:
\e[1m\e[36m\e[40m100.168.192.in-addr.arpa\e[0m", "Set
\e[1m\e[37m\e[40mcustom_repo\e[0m, current value: \e[1m\e[36m\e[40mtrue\e[0m",
"Set \e[1m\e[37m\e[40mdns_server\e[0m, current value:
\e[1m\e[36m\e[40m127.0.0.1\e[0m", "Set
\e[1m\e[37m\e[40mregister_in_foreman\e[0m, current value:
\e[1m\e[36m\e[40mtrue\e[0m", "Set \e[1m\e[37m\e[40mmanage_sudoersd\e[0m, current
value: \e[1m\e[36m\e[40mtrue\e[0m", "Set \e[1m\e[37m\e[40mdhcp_managed\e[0m,
current value: \e[1m\e[36m\e[40mtrue\e[0m", "Set
\e[1m\e[37m\e[40mdhcp_interface\e[0m, current value:
\e[1m\e[36m\e[40meth0\e[0m", "Set \e[1

Related issues 1 (0 open1 closed)

Related to Kafo - Bug #4281: Interactive foreman-installer messyClosedMarek Hulán02/06/2014Actions
Actions #1

Updated by Marek Hulán over 10 years ago

  • Related to Bug #4281: Interactive foreman-installer messy added
Actions #2

Updated by Marek Hulán about 10 years ago

  • Status changed from New to Duplicate
  • Assignee set to Marek Hulán
  • Target version set to 1.9.0

PR https://github.com/theforeman/kafo/pull/74 - will be fixed as part of #4281

there's currently no better way than use just numbers, in highline 1.6.21 colors are printed correctly but still for >50 items it does not make much sense to allow text answers

Actions #3

Updated by Dominic Cleal about 10 years ago

  • Target version deleted (1.9.0)
Actions

Also available in: Atom PDF