Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ClearClipboard()

void ReLogic.OS.Linux.Clipboard.ClearClipboard ( )
inlineprivate

Definition at line 33 of file Clipboard.cs.

34 {
35 try
36 {
37 using Process process = new Process();
38 process.StartInfo = new ProcessStartInfo("xsel", "-c")
39 {
40 UseShellExecute = false,
41 RedirectStandardOutput = false,
42 RedirectStandardInput = true
43 };
44 process.Start();
45 process.WaitForExit();
46 }
47 catch (Exception)
48 {
49 }
50 }

References System.Process.

Referenced by ReLogic.OS.Linux.Clipboard.SetClipboard().