mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Contents must return the current value, no matter what value is.
This commit is contained in:
@@ -15,11 +15,7 @@ namespace Terminal.Gui {
|
||||
get {
|
||||
try {
|
||||
if (IsSupported) {
|
||||
var clip = ustring.Make (Application.Driver.Clipboard.GetClipboardData ());
|
||||
if (clip != null) {
|
||||
return contents = clip;
|
||||
}
|
||||
return clip;
|
||||
return contents = ustring.Make (Application.Driver.Clipboard.GetClipboardData ());
|
||||
} else {
|
||||
return contents;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user