🆕 Add window size persistence, exit codes, and screen size detection

This commit is contained in:
2026-07-05 01:02:44 +08:00
parent d82a8df7e0
commit 9511143a72
4 changed files with 160 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !darwin
package main
// desktopSize is a no-op fallback on non-darwin platforms where we don't have
// a CGo-free way to query the screen. Returns (0, 0) so the caller skips
// clamping and uses the saved/default size as-is.
func desktopSize() (float32, float32) {
return 0, 0
}