GhosttyClipboardWriteReply class final

The reply to a clipboard write request.

This is a sized struct; set size to sizeof(GhosttyClipboardWriteReply). The reply is borrowed only for the duration of the reply call and may be freed as soon as it returns.

The result answers the program with the matching protocol status for protocols with a write acknowledgement (OSC 5522: DONE, EPERM, ENOSYS, EBUSY, EINVAL, EIO); protocols without one (OSC 52, OSC 1337 Copy) discard the reply. remember is ignored on any result other than GHOSTTY_CLIPBOARD_WRITE_RESULT_SUCCESS.

@ingroup terminal

Inheritance
Implemented types
Available extensions

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode int
The hash code for this object.
no setterinherited
remember bool
Record a session grant so future requests from the same program skip the permission prompt. Only honored on success when GhosttyClipboardWrite::can_remember is set.
getter/setter pair
result GhosttyClipboardWriteResult
no setter
resultAsInt int
Outcome of the write.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of this struct in bytes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited