Display line numbers on the main window only (#1789)

This commit is contained in:
Joe Lim authored and GitHub committed 2024-08-10 22:39:21 +10:00
1 parent efde1a2ef3
commit 505c4ef6c0
1 file changed
+1 -1
+1 -1
View File
@@ -392,7 +392,7 @@ func (win *win) printDir(ui *ui, dir *dir, context *dirContext, dirStyle *dirSty
var lnwidth int
if gOpts.number || gOpts.relativenumber {
if dirStyle.role == Active && (gOpts.number || gOpts.relativenumber) {
lnwidth = 1
if gOpts.number && gOpts.relativenumber {
lnwidth++