[tor-commits] [nyx/master] Change keybinding for resizing graph to 'g'

atagar at torproject.org atagar at torproject.org
Mon Apr 18 20:23:16 UTC 2016


commit 03e02165fa723a1a619ac46788c4ef2f17967682
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Apr 11 09:15:26 2016 -0700

    Change keybinding for resizing graph to 'g'
    
    The 'r' keybinding conflicted with reconnecting to tor.
---
 nyx/panel/graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nyx/panel/graph.py b/nyx/panel/graph.py
index 401c079..48cf3b9 100644
--- a/nyx/panel/graph.py
+++ b/nyx/panel/graph.py
@@ -522,7 +522,7 @@ class GraphPanel(nyx.panel.Panel):
       self.redraw(True)
 
     return (
-      nyx.panel.KeyHandler('r', 'resize graph', self.resize_graph),
+      nyx.panel.KeyHandler('g', 'resize graph', self.resize_graph),
       nyx.panel.KeyHandler('s', 'graphed stats', _pick_stats, self.displayed_stat if self.displayed_stat else 'none'),
       nyx.panel.KeyHandler('b', 'graph bounds', _next_bounds, self.bounds_type.replace('_', ' ')),
       nyx.panel.KeyHandler('i', 'graph update interval', _pick_interval, self.update_interval),





More information about the tor-commits mailing list