diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-25 11:30:04 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-25 11:30:04 -0400 |
commit | cfe791a638a3fdf53a2608f885c407bafc238094 (patch) | |
tree | eb6618d98c78fd96926cd46d372f7a930edb5ec9 /src/nix/search.cc | |
parent | ec14465a001387f8972c1b8332293d4fbce5ec97 (diff) |
stdout_ -> cout
Better to get creative than just sprinkle arbitrary underscores.
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r-- | src/nix/search.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index 88815efdb..2f7eb23bb 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -147,13 +147,13 @@ struct CmdSearch : InstallableCommand, MixJSON jsonElem.attr("description", description); } else { auto name2 = hilite(name.name, nameMatch, "\e[0;2m"); - if (results > 1) logger->stdout_(""); - logger->stdout_( + if (results > 1) logger->cout(""); + logger->cout( "* %s%s", wrap("\e[0;1m", hilite(attrPath2, attrPathMatch, "\e[0;1m")), name.version != "" ? " (" + name.version + ")" : ""); if (description != "") - logger->stdout_( + logger->cout( " %s", hilite(description, descriptionMatch, ANSI_NORMAL)); } } |