From fff94f7b851ea64ae2758dcb6229fcf4e6964901 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Sun, 24 Aug 2014 23:38:27 +0000
Subject: [PATCH] Don't move the cursor on frame.cycle if taking line input.

---
 xtrn/oneliners/framed.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xtrn/oneliners/framed.js b/xtrn/oneliners/framed.js
index a85d3550f4..6e8d5c1f28 100644
--- a/xtrn/oneliners/framed.js
+++ b/xtrn/oneliners/framed.js
@@ -145,7 +145,7 @@ var cycle = function() {
 	} catch(err) {
 		log(LOG_ERR, "Oneliners error: " + err);
 	}
-	if(frame.cycle())
+	if(frame.cycle() && !inInput)
 		console.gotoxy(console.screen_columns, console.screen_rows);
 	return (inInput)?inputLine.getkey():console.inkey(K_NONE,5).toUpperCase();
 }
-- 
GitLab