You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Code optimization (#49)
* git: ingore meson files
* fix: enum -> enum class, with explicit base type
* misc: format
* fix: an unsigned must be >= 0, assertion not needed
* fix: enum classes, most value now strictly static cast
* fix: removed unused variable
* fix: properly ordered struct member initialization
* fix: marked function static
* fix: enum -> enum class : uint8_t
* fix: initialize draw type as a ref, with vec.at(), strict type case
* fix: unused var
* misc: use more parentheses for math expressions
* fix: [nodiscard] is a c++17 extension
* misc: use more parentheses for math expressions
* fix: marked structs static
* misc: use more parentheses for math expressions
* fix: marked functions static
* fix: marked some function static
* fix: comment out unused var
* fix: marked functions and objects static
* fix: static_cast most values
* fix: enum -> enum class : uint8_t
* fix: enum classes, most value now strictly static cast
* fix: removed unused variable
* fix: marked function static
* fix: unused var
* refactor: satisfy `clangd` with many `static`s
* misc: down with `anonymous-namespace` and `boost` suggestions
* refactor(tui)!: don't directly include `input.hpp`
* misc(clangd): won't suggest adding non-sense (afaik) statics
* refactor: remove non-sense `static`s
* fix: use native raw-mode management instead of `stty`; conventional error msgs; use `err()` where applicable
* refactor: perf < code readability
* fix(input): don't make << ugly
* docs(input): a comment of what were ignoring
* fix(input): unnecessary cast ruins stuff
* fix(unix-raw-mode): use `stty` as it's somehow more universal
---------
Co-authored-by: Jeromos Kovács <iitsnotme214@proton.me>