mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-24 23:08:20 +08:00
Casting and documentation fixes (#608)
Add `-wDocumentation` option. Fix the documentation. Fix c++20/c++17 confusion in tests. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ Terminal::Color ComputeColorSupport() {
|
||||
// colors: https://github.com/microsoft/terminal/issues/1040
|
||||
// As a fallback, assume microsoft terminal are the ones not setting those
|
||||
// variables, and enable true colors.
|
||||
if (TERM == "" && COLORTERM == "") {
|
||||
if (TERM.empty() && COLORTERM.empty()) {
|
||||
return Terminal::Color::TrueColor;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user