Run clang-format.

This commit is contained in:
ArthurSonzogni
2020-03-27 01:42:46 +01:00
parent 1703552235
commit fce29a03b3
21 changed files with 104 additions and 151 deletions

View File

@@ -16,14 +16,14 @@ class DrawKey : public Component {
Elements children;
for (size_t i = std::max(0, (int)keys.size() - 10); i < keys.size(); ++i) {
std::wstring code;
for(auto& it : keys[i].input())
for (auto& it : keys[i].input())
code += L" " + std::to_wstring((unsigned int)it);
code = L"(" + code + L" ) -> ";
if (keys[i].is_character())
code += keys[i].character();
code += keys[i].character();
else
code += L"(special)";
code += L"(special)";
children.push_back(text(code));
}
return vbox(std::move(children));