Added paste

This commit is contained in:
Robert Jelic
2025-05-11 03:14:53 +02:00
parent 694bb72f6b
commit 6adfcd41fd
2 changed files with 4 additions and 3 deletions

View File

@@ -193,6 +193,8 @@ function Input:blur()
self:updateRender()
end
--- @shortDescription Handles paste events
--- @protected
function Input:paste(content)
if not self.get("focused") then return false end
local text = self.get("text")