Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::PasteInputEvent Struct Reference

Owning raw paste bytes, possibly invalid UTF-8 or containing controls. Never forward these bytes to a terminal writer or interpret them as commands. More...

#include <input.hpp>

Public Member Functions

bool operator== (const PasteInputEvent &other) const =default
 Compare the complete event value.

Public Attributes

std::string bytes
 Complete bounded payload, excluding delimiters.

Detailed Description

Owning raw paste bytes, possibly invalid UTF-8 or containing controls. Never forward these bytes to a terminal writer or interpret them as commands.

Member Function Documentation

◆ operator==()

bool portals::PasteInputEvent::operator== ( const PasteInputEvent & other) const
default

Compare the complete event value.

Parameters
otherEvent or metadata value to compare, without interpreting its payload.
Returns
True when every stored field is equal; false otherwise.

The documentation for this struct was generated from the following file: