Allow compiling for Android (native, non-Termux); small formatting fixes

This commit is contained in:
2025-03-18 21:05:22 -04:00
parent f40699076d
commit 17223758b1
4 changed files with 29 additions and 7 deletions
+18
View File
@@ -0,0 +1,18 @@
//go:build android && !termux
package core
import (
"os/exec"
)
// copyString copies a string to the clipboard.
func copyString(continuous bool, copySubject string) {
// temporary dummy function to allow Android compilation
}
// getClipCommands returns the commands for pasting and clearing the clipboard contents.
func getClipCommands() (*exec.Cmd, *exec.Cmd) {
// temporary dummy function to allow Android compilation
return nil, nil
}