diff --git a/ISM/Default/Option/Software/Search/Search.cr b/ISM/Default/Option/Software/Search/Search.cr index 4cbd5e15..f56c2458 100644 --- a/ISM/Default/Option/Software/Search/Search.cr +++ b/ISM/Default/Option/Software/Search/Search.cr @@ -12,6 +12,7 @@ module ISM NoMatchFound = "No match found with the database for " NoMatchFoundAdvice = "Maybe it's needed of refresh the database?" None = "None" + TypeField = "Type: " PortField = "Port: " NameField = "Name: " DescriptionField = "Description: " diff --git a/ISM/Option/Software/Search/Search.cr b/ISM/Option/Software/Search/Search.cr index 2a456f00..c7ea54a6 100644 --- a/ISM/Option/Software/Search/Search.cr +++ b/ISM/Option/Software/Search/Search.cr @@ -32,6 +32,9 @@ module ISM matchingSoftwaresArray.each_with_index do |software, index| greatestVersion = software.greatestVersion + puts ISM::Default::Option::SoftwareSearch::TypeField + + "#{(greatestVersion.type).colorize(Colorize::ColorRGB.new(255,100,100))}" + puts ISM::Default::Option::SoftwareSearch::PortField + "#{("@"+greatestVersion.port).colorize(Colorize::ColorRGB.new(255,100,100))}"