mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 02:59:20 +01:00
Update GUI.lua
This commit is contained in:
parent
2e5344f4b5
commit
bc8d1e54c2
@ -7,6 +7,7 @@ local screen = require("Screen")
|
||||
local paths = require("Paths")
|
||||
local text = require("Text")
|
||||
local number = require("Number")
|
||||
local clipboard = require("Clipboard")
|
||||
|
||||
-----------------------------------------------------------------------------------------
|
||||
|
||||
@ -3062,6 +3063,10 @@ local function inputEventHandler(workspace, input, e1, e2, e3, e4, e5, e6, ...)
|
||||
elseif e4 == 207 then
|
||||
input:setCursorPosition(unicode.len(input.text) + 1)
|
||||
|
||||
-- V
|
||||
elseif e4 == 47 and type(clipboard.paste()) ~= "table" then
|
||||
input.text = input.text .. tostring(clipboard.paste())
|
||||
input:setCursorPosition(unicode.len(input.text)+1)
|
||||
else
|
||||
local char = unicode.char(e3)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user