mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Everywhere: Run clang-format
The following command was used to clang-format these files: clang-format-16 -i $(find . \ -not \( -path "./\.*" -prune \) \ -not \( -path "./Base/*" -prune \) \ -not \( -path "./Build/*" -prune \) \ -not \( -path "./Toolchain/*" -prune \) \ -not \( -path "./Ports/*" -prune \) \ -type f -name "*.cpp" -o -name "*.h")
This commit is contained in:
parent
388d455575
commit
aff81d318b
17 changed files with 49 additions and 54 deletions
|
@ -560,7 +560,7 @@ void Editor::initialize()
|
|||
m_configuration.set(Configuration::NonInteractive);
|
||||
} else {
|
||||
auto* term = getenv("TERM");
|
||||
if (term != NULL && StringView { term, strlen(term) }.starts_with("xterm"sv))
|
||||
if ((term != NULL) && StringView { term, strlen(term) }.starts_with("xterm"sv))
|
||||
m_configuration.set(Configuration::Full);
|
||||
else
|
||||
m_configuration.set(Configuration::NoEscapeSequences);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue