jupyter-xeus / cpp-terminal

C++ library for writing multiplatform terminal applications
https://jupyter-xeus.github.io/cpp-terminal/
Other
476 stars 51 forks source link

[pre-commit.ci] pre-commit autoupdate #355

Closed pre-commit-ci[bot] closed 4 months ago

pre-commit-ci[bot] commented 4 months ago

updates:

github-actions[bot] commented 4 months ago

Cpp-Linter Report :warning:

Some files did not pass the configured checks!

clang-tidy reports: 1 concern(s) - **cpp-terminal/private/screen.cpp:32:31:** warning: [[misc-include-cleaner](https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html)] > no header providing "TIOCGWINSZ" is directly included ```cpp 11 | if(ioctl(Private::out.fd(), TIOCGWINSZ, &window) != -1) ret = {window.ws_row, window.ws_col}; | ^ /home/runner/work/cpp-terminal/cpp-terminal/cpp-terminal/private/screen.cpp:32:58: warning: statement should be inside braces [hicpp-braces-around-statements,readability-braces-around-statements] 32 | if(ioctl(Private::out.fd(), TIOCGWINSZ, &window) != -1) ret = {window.ws_row, window.ws_col}; | ^ | { ```

Have any feedback or feature suggestions? Share it here.