From 0f97353179722e4c33269f2ea4544942a79b32e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Dec 2021 21:34:50 +0900 Subject: [PATCH] konsole: fixup comments text and location. Signed-off-by: Michele Calgaro (cherry picked from commit 76fe6863ce1338d0e1dd0a9bc84630187a21ed11) --- konsole/konsole/TEScreen.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/konsole/konsole/TEScreen.cpp b/konsole/konsole/TEScreen.cpp index cd8c07b31..8f2473e31 100644 --- a/konsole/konsole/TEScreen.cpp +++ b/konsole/konsole/TEScreen.cpp @@ -176,7 +176,7 @@ void TEScreen::cursorLeft(int n) } /*! - Move the cursor left. + Move the cursor right. The cursor will not move beyond the rightmost column. */ @@ -189,7 +189,7 @@ void TEScreen::cursorRight(int n) } /*! - Set top and bottom margin. + Move the cursor at most n lines next */ void TEScreen::cursorNextLine(int n) @@ -208,9 +208,12 @@ void TEScreen::cursorNextLine(int n) } n--; } - } +/*! + Move the cursor at most n lines previous +*/ + void TEScreen::cursorPrevLine(int n) //=CPL { @@ -229,6 +232,10 @@ void TEScreen::cursorPrevLine(int n) } } +/*! + Set top and bottom margin. +*/ + void TEScreen::setMargins(int top, int bot) //=STBM {