Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)

project(cpp-workspace VERSION 0.4.4 LANGUAGES CXX)
project(cpp-workspace VERSION 0.4.5 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
4 changes: 2 additions & 2 deletions src/interface/progress_spinner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void ProgressSpinner::start() {
}
this->active = true;

if (this->ui == nullptr || UserInterface::ui_running(this->ui) == false) {
if (this->ui == nullptr || !this->ui->backend_running()) {
this->spinner_thread = std::thread([this]() {
const char spinner_chars[] = {'|', '/', '-', '\\'};
int i = 0;
Expand Down Expand Up @@ -114,7 +114,7 @@ void ProgressSpinner::stop() {
* @note This method is called frequently by CURL; keep it lightweight.
*/
int ProgressSpinner::progress_callback_impl(curl_off_t dltotal, curl_off_t dlnow) {
if (this->ui == nullptr || !UserInterface::ui_running(this->ui)) {
if (this->ui == nullptr || !this->ui->backend_running()) {
const char spinner_chars[] = {'|', '/', '-', '\\'};

if (dltotal > 0) {
Expand Down
Loading
Loading