diff --git a/modules/drivers/vt52.lua b/modules/drivers/vt52.lua index a82a742..b154c2d 100644 --- a/modules/drivers/vt52.lua +++ b/modules/drivers/vt52.lua @@ -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