Subject: bug#34513: display-line-numbers in term mode

From: Eli Zaretskii <[email-masked]>
Date: Sun, 20 Sep 2020 21:50:30 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Sun, 20 Sep 2020 20:30:33 +0200
> Cc: [email-masked], Ergus <[email-masked]>
> 
> > -	   (ncols (/ window-width font-width)))
> > +	   (ncols (- (/ window-width font-width) (line-number-display-width))))
> 
> I tried this patch in Emacs 28, and it didn't seem to help much.

Not even if you call line-number-display-width with arg of 'columns'?

Does it help to set COLUMNS in the environment to something like 76
before starting "M-x term"?  If it does, that would at least tell us
the columns are the cause of the problem.