mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
hyprctl: add missing newline in error case of missing HYPRLAND_INSTANCE_SIGNATURE
(#4832)
Before the change running a `hyprctl` in incomplete `Hyprland` environment merged error message and prompt for me as: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)$ (note trailing `$` prompt). After the change the newline is present as expected: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?) $
This commit is contained in:
committed by
GitHub
parent
9103af317e
commit
f534ac3fc4
@@ -367,7 +367,7 @@ int main(int argc, char** argv) {
|
||||
const auto ISIG = getenv("HYPRLAND_INSTANCE_SIGNATURE");
|
||||
|
||||
if (!ISIG) {
|
||||
std::cout << "HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)";
|
||||
std::cout << "HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user