summaryrefslogtreecommitdiff
path: root/hyprpm/src/progress/CProgressBar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-4/+6
|
* hyprpm: Minor optimizations and refactor of helpers and progress bar (#10246)s1dd2025-05-051-50/+46
| | | | | | | | | | | | | | | * hyprpm: optimize sys.cpp * hyprpm: refine progress bar logic * chore: fix fetchSuperuserBins * chore: modify one line if/else statements * chore: fix if/else statements * chore: follow naming convention for const vars * chore: revert shell escape logic
* hyprpm: convert std::cout and std::cerr to std::println()Toni500git2024-10-131-7/+9
|
* hyprpm: cast std::clamp args to be of the same type (#4116)Jan Beich2023-12-111-1/+1
| | | | | | | | | | | hyprpm/src/progress/CProgressBar.cpp:50:27: error: no matching function for call to 'clamp' const auto BARWIDTH = std::clamp(w.ws_col - m_szCurrentMessage.length() - 2, 0UL, 50UL); ^~~~~~~~~~ /usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('size_type' (aka 'unsigned int') vs. 'unsigned long') clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi) ^ /usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp) ^
* hyprpm: Add hyprpm, a Hyprland Plugin Manager (#4072)Vaxry2023-12-071-0/+80