commit 130dc437a4204d3c9dbfd65c5d968eccd083b1f0
Author: Sambuddha Basu <sambuddhabasu1(a)gmail.com>
Date: Fri Mar 4 16:15:49 2016 -0500
Changed key for setting line number visible for torrc
---
nyx/torrc_panel.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nyx/torrc_panel.py b/nyx/torrc_panel.py
index 260be1f..f0f66b4 100644
--- a/nyx/torrc_panel.py
+++ b/nyx/torrc_panel.py
@@ -80,7 +80,7 @@ class TorrcPanel(panel.Panel):
if self._scroll != new_scroll:
self._scroll = new_scroll
self.redraw(True)
- elif key.match('n'):
+ elif key.match('l'):
self.set_line_number_visible(not self._show_line_numbers)
elif key.match('s'):
self.set_comments_visible(not self._show_comments)
@@ -96,7 +96,7 @@ class TorrcPanel(panel.Panel):
('page up', 'scroll up a page', None),
('page down', 'scroll down a page', None),
('s', 'comment stripping', 'off' if self._show_comments else 'on'),
- ('n', 'line numbering', 'on' if self._show_line_numbers else 'off'),
+ ('l', 'line numbering', 'on' if self._show_line_numbers else 'off'),
('x', 'reset tor (issue sighup)', None),
]