From 1fe03cc9fb0f5ddc8420ab4f24b29f65f929ef8d Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 4 Feb 2020 11:02:32 -0500 Subject: [PATCH] stubs of new functions --- terminal.d | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/terminal.d b/terminal.d index aaa1ff7..df6fbbe 100644 --- a/terminal.d +++ b/terminal.d @@ -833,6 +833,34 @@ struct Terminal { uint tcaps; + bool inlineImagesSupported() { + return (tcaps & TerminalCapabilities.arsdImage) ? true : false; + } + bool clipboardSupported() { + return (tcaps & TerminalCapabilities.arsdImage) ? true : false; + } + + // stubs that are dependent on tcaps + void displayInlineImage(ubyte[] imageData) { + + } + + void requestCopyToClipboard(string data) { + + } + + void requestPasteFromClipboard() { + + } + + void requestCopyToPrimary(string data) { + + } + + void requestPasteFromPrimary() { + + } + version(Posix) /** * Constructs an instance of Terminal representing the capabilities of