1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-31 13:42:59 +00:00

Add .getCursorBlink to monitors and terminals

Closes #576
This commit is contained in:
SquidDev
2018-09-23 09:34:28 +01:00
parent 914df8b0c7
commit 1ba73454c1
3 changed files with 17 additions and 3 deletions

View File

@@ -65,7 +65,8 @@ public class MonitorPeripheral implements IPeripheral
"setPaletteColour",
"setPaletteColor",
"getPaletteColour",
"getPaletteColor"
"getPaletteColor",
"getCursorBlink",
};
}
@@ -249,8 +250,13 @@ public class MonitorPeripheral implements IPeripheral
}
return null;
}
case 24:
// getCursorBlink
Terminal terminal = m_monitor.getTerminal().getTerminal();
return new Object[] { terminal.getCursorBlink() };
default:
return null;
}
return null;
}
@Override