screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #63361] Screen should also put cursor at 1 in LineFe


From: anonymous
Subject: [screen-devel] [bug #63361] Screen should also put cursor at 1 in LineFeed if autolf is on.
Date: Sun, 13 Nov 2022 22:19:45 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63361>

                 Summary: Screen should also put cursor at 1 in LineFeed if
autolf is on.
                 Project: GNU Screen
               Submitter: None
               Submitted: Mon 14 Nov 2022 03:19:43 AM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 4.8.0
         Discussion Lock: Any
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 14 Nov 2022 03:19:43 AM UTC By: Anonymous
https://vt100.net/docs/vt510-rm/LNM.html

diff --git a/src/ansi.c b/src/ansi.c
index 9ee4ffa..3c83ded 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1493,7 +1493,7 @@ static void Return(Window *win)
 static void LineFeed(Window *win, int out_mode)
 {
        /* out_mode: 0=lf, 1=cr+lf */
-       if (out_mode)
+       if (out_mode || win->w_autolf)
                win->w_x = 0;
        if (win->w_y != win->w_bot) {   /* Don't scroll */
                if (win->w_y < win->w_height - 1)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63361>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]