From b63e2b2592daebd746df924fab48407fb3dcabbb Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Fri, 25 Oct 2019 22:34:31 +0200 Subject: [PATCH] Add cursor position implementation on Linux --- native/liblinuxbridge/bridge.cpp | 8 +++++++- native/liblinuxbridge/bridge.h | 5 +++++ src/bridge/linux.rs | 1 + src/keyboard/linux.rs | 6 ++++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/native/liblinuxbridge/bridge.cpp b/native/liblinuxbridge/bridge.cpp index 55d1c99..750c28f 100644 --- a/native/liblinuxbridge/bridge.cpp +++ b/native/liblinuxbridge/bridge.cpp @@ -278,6 +278,12 @@ void delete_string(int32_t count) { } } +void left_arrow(int32_t count) { + for (int i = 0; i