[education/rkward] rkward: Fix output position in case of pasted multi-line commands.
Thomas Friedrichsmeier
null at kde.org
Tue Dec 27 09:41:56 GMT 2022
Git commit aef76e215c70e6e8998952345c3d3bd35f7eda47 by Thomas Friedrichsmeier.
Committed on 27/12/2022 at 09:41.
Pushed by tfry into branch 'master'.
Fix output position in case of pasted multi-line commands.
CCBUG: 463346
M +1 -0 rkward/rkconsole.cpp
https://invent.kde.org/education/rkward/commit/aef76e215c70e6e8998952345c3d3bd35f7eda47
diff --git a/rkward/rkconsole.cpp b/rkward/rkconsole.cpp
index 35624b2d..5e24bb92 100644
--- a/rkward/rkconsole.cpp
+++ b/rkward/rkconsole.cpp
@@ -621,6 +621,7 @@ void RKConsole::userCommandLineIn (RCommand* cmd) {
prefix = iprefix;
showPrompt ();
setCurrentEditingLine (line);
+ output_cursor = doc->documentEnd();
}
void RKConsole::submitBatch (const QString &batch) {
More information about the rkward-tracker
mailing list