From 15e726cdb7a95059f5ae16000239aad573fa9541 Mon Sep 17 00:00:00 2001 From: Nguyen Duy Date: Wed, 25 Dec 2024 12:50:17 +0700 Subject: [PATCH] fix(cli): return displays count --- app/CLI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CLI.cs b/app/CLI.cs index 5013bf3..8bcaecf 100644 --- a/app/CLI.cs +++ b/app/CLI.cs @@ -215,7 +215,7 @@ static int ListDisplay() Console.WriteLine("No virtual displays present."); } - return 0; + return displays.Count; } static int SetDisplayMode(string[] args)