Updated DisplayLinkPeripheral#write to move cursor to the end of the text
- This change was made to be more inline with ComputerCraft's builtin display API
This commit is contained in:
parent
7141c10025
commit
3e21996984
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ public class DisplayLinkPeripheral extends SyncedPeripheral<DisplayLinkTileEntit
|
|||
synchronized (tile) {
|
||||
tile.getSourceConfig().put(TAG_KEY, tag);
|
||||
}
|
||||
|
||||
cursorX.set(x + text.length());
|
||||
}
|
||||
|
||||
@LuaFunction
|
||||
|
|
Loading…
Reference in a new issue