mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
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
@ -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 New Issue
Block a user