mirror of
https://github.com/PDB-REDO/libcifpp.git
synced 2026-06-04 13:54:25 +08:00
Fix typo, add depedency to cmake config file
This commit is contained in:
@@ -8,5 +8,6 @@ include(CMakeFindDependencyMacro)
|
||||
|
||||
find_dependency(Threads)
|
||||
find_dependency(ZLIB REQUIRED)
|
||||
find_dependency(SQLite3 REQUIRED)
|
||||
|
||||
check_required_components(cifpp)
|
||||
|
||||
@@ -93,7 +93,7 @@ std::tuple<uint32_t, uint32_t> get_terminal_width_and_height()
|
||||
{
|
||||
CONSOLE_SCREEN_BUFFER_INFO csbi;
|
||||
return ::GetConsoleScreenBufferInfo(::GetStdHandle(STD_OUTPUT_HANDLE), &csbi)
|
||||
? { csbi.srWindow.Right - csbi.srWindow.Left + 1, csbi.srWindow.Bottm - csbi.srWindow.Top + 1 }
|
||||
? { csbi.srWindow.Right - csbi.srWindow.Left + 1, csbi.srWindow.Bottom - csbi.srWindow.Top + 1 }
|
||||
: { 80, 24 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user