Ptm and pts are used by pty.c, thus they have to be non-static.
@ -41,7 +41,7 @@ typedef struct {
static int cols = 80, lines = 25;
static int cx = 0, cy = 0;
static int c;
static int ptm, pts;
int ptm, pts;
static _Bool bold, digit, qmark;
static pid_t pid;
static RingBuffer buf;
The note is not visible to the blocked user.