diff --git a/pom.xml b/pom.xml
index b489538..fd63c32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
xtn5250
- 3.2.2-SNAPSHOT
+ 3.2.3-SNAPSHOT
${project.artifactId}
This is a fork of https://sourceforge.net/projects/xtn5250/
@@ -142,4 +142,4 @@
-
\ No newline at end of file
+
diff --git a/src/main/java/net/infordata/em/TerminalClient.java b/src/main/java/net/infordata/em/TerminalClient.java
index 6ecc2be..0ccf6c4 100644
--- a/src/main/java/net/infordata/em/TerminalClient.java
+++ b/src/main/java/net/infordata/em/TerminalClient.java
@@ -61,7 +61,7 @@ public void setSocketFactory(SocketFactory socketFactory) {
public void setConnectionTimeoutMillis(int connectionTimeoutMillis) {
emulator.setConnectionTimeoutMillis(connectionTimeoutMillis);
}
-
+
/**
* Connect to a terminal server.
*
@@ -213,6 +213,10 @@ public Optional getCursorPosition() {
.of(new Point(emulator.getCursorCol() + 1, emulator.getCursorRow() + 1)) : Optional.empty();
}
+ public void setCursorPosition(int row, int column) {
+ emulator.setCursorPos(column, row);
+ }
+
/**
* Gets the status of the alarm.
*