ui: Improved command palette

This commit is contained in:
WerWolv
2021-10-07 16:25:59 +02:00
parent a67263fa27
commit 2e05845410
2 changed files with 7 additions and 2 deletions

View File

@@ -28,9 +28,9 @@ namespace hex::plugin::builtin {
if (result.has_value())
return hex::format("#{0} = %{1}", input.data(), result.value());
return hex::format("#{0} = {1}", input.data(), result.value());
else
return hex::format("#{0} = ???", input.data());
return std::string("???");
});
ContentRegistry::CommandPaletteCommands::add(