Permalink
Browse files

Add .getCursorBlink to monitors and terminals

Closes #576
  • Loading branch information...
SquidDev committed Sep 23, 2018
1 parent 914df8b commit 1ba73454c114a00c322bcf809cbadd9342ca53dd
@@ -78,7 +78,8 @@ public void shutdown( )
"setPaletteColour",
"setPaletteColor",
"getPaletteColour",
"getPaletteColor"
"getPaletteColor",
"getCursorBlink",
};
}
@@ -298,6 +299,9 @@ public static void setColour( Terminal terminal, int colour, double r, double g,
}
return null;
}
case 23:
// getCursorBlink
return new Object[] { m_terminal.getCursorBlink() };
default:
{
return null;
@@ -65,7 +65,8 @@ public String getType()
"setPaletteColour",
"setPaletteColor",
"getPaletteColour",
"getPaletteColor"
"getPaletteColor",
"getCursorBlink",
};
}
@@ -249,8 +250,13 @@ public String getType()
}
return null;
}
case 24:
// getCursorBlink
Terminal terminal = m_monitor.getTerminal().getTerminal();
return new Object[] { terminal.getCursorBlink() };
default:
return null;
}
return null;
}
@Override
@@ -258,6 +258,10 @@ function create( parent, nX, nY, nWidth, nHeight, bStartVisible )
end
end
function window.getCursorBlink()
return bCursorBlink
end
local function isColor()
return parent.isColor()
end

0 comments on commit 1ba7345

Please sign in to comment.