#1108773 gnome-terminal: large selection resets on input

Package:
gnome-terminal
Source:
gnome-terminal
Description:
GNOME terminal emulator application
Submitter:
mc36
Date:
2025-07-05 05:03:03 UTC
Severity:
normal
#1108773#5
Date:
2025-07-05 04:54:24 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

selecting more than the visible window resets if input arrives, regardless if
reset scroll state

   * What exactly did you do (or not do) that was effective (or
     ineffective)?


#include <stdio.h>
#include <unistd.h>

void main() {
    for (int i=0; i<1000; i++) printf("quick line %i\n", i);
    for (int i=0; 1<2; i++) {
        printf("slow line %i\n", i);
        sleep(1);
    }
}

running the above makes impossible to select quick lines 700 to 800.... :)

   * What was the outcome of this action?
selection resets...

   * What outcome did you expect instead?
selection works...


*** End of the template - remove these template lines ***