From caf17905860d807ae473a51fdda6f14b7e677b1a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 8 Mar 2017 21:48:04 -0800 Subject: 3766 --- 100trace_browser.cc | 12 ++++++------ html/100trace_browser.cc.html | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/100trace_browser.cc b/100trace_browser.cc index 74ec39b4..e8f47890 100644 --- a/100trace_browser.cc +++ b/100trace_browser.cc @@ -35,9 +35,9 @@ //: `g` or `home`: Move cursor to start of trace. //: `G` or `end`: Move cursor to end of trace. //: -//: `H`: Move cursor to top line on screen. -//: `M`: Move cursor to center line on screen. -//: `L`: Move cursor to bottom line on screen. +//: `t`: Move cursor to top line on screen. +//: `c`: Move cursor to center line on screen. +//: `b`: Move cursor to bottom line on screen. :(before "End Primitive Recipe Declarations") _BROWSE_TRACE, @@ -102,15 +102,15 @@ void start_trace_browser() { // move cursor one line up if (Display_row > 0) --Display_row; } - if (key == 'H') { + if (key == 't') { // move cursor to top of screen Display_row = 0; } - if (key == 'M') { + if (key == 'c') { // move cursor to center of screen Display_row = tb_height()/2; } - if (key == 'L') { + if (key == 'b') { // move cursor to bottom of screen Display_row = tb_height()-1; } diff --git a/html/100trace_browser.cc.html b/html/100trace_browser.cc.html index 1f9208a1..9c4247cc 100644 --- a/html/100trace_browser.cc.html +++ b/html/100trace_browser.cc.html @@ -95,9 +95,9 @@ if ('onhashchange' in window) { 35 //: `g` or `home`: Move cursor to start of trace. 36 //: `G` or `end`: Move cursor to end of trace. 37 //: - 38 //: `H`: Move cursor to top line on screen. - 39 //: `M`: Move cursor to center line on screen. - 40 //: `L`: Move cursor to bottom line on screen. + 38 //: `t`: Move cursor to top line on screen. + 39 //: `c`: Move cursor to center line on screen. + 40 //: `b`: Move cursor to bottom line on screen. 41 42 :(before "End Primitive Recipe Declarations") 43 _BROWSE_TRACE, @@ -162,15 +162,15 @@ if ('onhashchange' in window) { 102 ¦ ¦ // move cursor one line up 103 ¦ ¦ if (Display_row > 0) --Display_row; 104 ¦ } -105 ¦ if (key == 'H') { +105 ¦ if (key == 't') { 106 ¦ ¦ // move cursor to top of screen 107 ¦ ¦ Display_row = 0; 108 ¦ } -109 ¦ if (key == 'M') { +109 ¦ if (key == 'c') { 110 ¦ ¦ // move cursor to center of screen 111 ¦ ¦ Display_row = tb_height()/2; 112 ¦ } -113 ¦ if (key == 'L') { +113 ¦ if (key == 'b') { 114 ¦ ¦ // move cursor to bottom of screen 115 ¦ ¦ Display_row = tb_height()-1; 116 ¦ } -- cgit 1.4.1-2-gfad0