Display line numbers on the main window only (#1789)
This commit is contained in:
1 parent
efde1a2ef3
commit
505c4ef6c0
1 file changed
+1
-1
@@ -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++
|
||||
|
||||
Reference in new issue
Block a user