Hello, actually I’m working in the output design of this part of my function:
puts "#{ISM::Default::Option::SoftwareInstall::InstallQuestion.colorize.mode(:underline)}" +
"[" + "#{ISM::Default::Option::SoftwareInstall::YesReplyOption.colorize(:green)}" +
"/" + "#{ISM::Default::Option::SoftwareInstall::NoReplyOption.colorize(:red)}" + "]"
loop do
userInput = gets
if userInput == ISM::Default::Option::SoftwareInstall::YesReplyOption
userAgreement = true
break
end
if userInput == ISM::Default::Option::SoftwareInstall::NoReplyOption
break
end
end
First question, can I change ONLY the color of the underline ?
My second question is, just after my String before the loop, I have a gets method. How can I do to have my cursor just after my text, and not in a newline after