Parcourir la source

more draw call optimisation

master
XeonSquared il y a 3 ans
Parent
révision
f9749ac181
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. +1
    -3
      module/buffer.lua

+ 1
- 3
module/buffer.lua Voir le fichier

@@ -261,7 +261,7 @@ function buffer:read(...)
io.write("\27[s\27[8m")
local pos, buffer = 1, ""
local function redraw()
io.write("\27[u"..buffer.." \27[u\27["..tostring((#buffer-pos)+1).."C")
io.write(string.format("\27[u%s \27[u\27[%iC",buffer,(#buffer-pos)+1))
end
while true do
char = readBytesOrChars(1)
@@ -270,14 +270,12 @@ function buffer:read(...)
local args = {""}
repeat
char = readBytesOrChars(1)
--[[
if char:match("%d") then
args[#args] = args[#args]..char
else
args[#args] = tonumber(args[#args])
args[#args+1] = ""
end
]]
until not char:match("[%d;]")
if char == "C" then -- right
if pos > 1 then


Chargement…
Annuler
Enregistrer