Skip to content

Commit

Permalink
Use ctrl-I to toggle ignore case
Browse files Browse the repository at this point in the history
  • Loading branch information
knittl committed Aug 12, 2019
1 parent bc15d16 commit f433212
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flamegraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,14 @@ sub flow {
}
}, false)
// ctrl-I to toggle case-sensitive search
window.addEventListener("keydown",function (e) {
if (e.ctrlKey && e.keyCode === 73) {
e.preventDefault();
toggle_ignorecase();
}
}, false)
// functions
function find_child(node, selector) {
var children = node.querySelectorAll(selector);
Expand Down

0 comments on commit f433212

Please sign in to comment.