zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

telega-root-auto-fill-mode does not account for width of line numbers with display-line-numbers-mode enabled #325

Closed ipvych closed 2 years ago

ipvych commented 2 years ago

Telega Setup

OS: Arch Linux Emacs: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) Telega: telega v0.7.82 (TDLib v1.7.9) (telega-server v0.7.13)

Current Behavior

With display-line-numbers-mode enabled in telega root buffer telega-root-auto-fill-mode does not account for width of displayed line numbers, which results in few characters going off window

Steps to Reproduce