possible fix for multi screen single GPU stuff

This commit is contained in:
Izaya 2017-10-07 06:10:57 +11:00
parent bec129c2fc
commit cd30afb56a
1 changed files with 1 additions and 2 deletions

View File

@ -24,9 +24,8 @@ function tty(gA,sA,sI,fg,bg)
gP.setBackground(bG)
end
local function wl(str)
if gP.cs ~= sA then
if gP.getScreen() ~= sA then
gP.bind(sA)
gP.cs = sA
end
local cm = 0
for c in str:gmatch(".") do