]> git.scottworley.com Git - picsort/blobdiff - picsorter.js
'f' to show current filename
[picsort] / picsorter.js
index e8a92a2ed6eec0c5171ef2f427f0757c684d5715..ff760dc3e346454ca71bf8a863c671f00eba2326 100644 (file)
@@ -166,6 +166,7 @@ function show_commands() {
       commands.push(command.join(" "));
     }
   });
+  commands.push("");
   $("#shell_out").text(commands.join("\n")).show();
 }
 
@@ -187,6 +188,7 @@ Mousetrap.bind(['d', 'j'], function() { change_exposure(-1); });
 Mousetrap.bind('x', mark_deleted);
 Mousetrap.bind('X', mark_not_deleted);
 Mousetrap.bind('r', rotate);
+Mousetrap.bind('f', function() { say(files[input_index]); });
 Mousetrap.bind('c', function() { $("#name").show().focus(); return false; });
 Mousetrap.bind('%', function() { say((100 * input_index / files.length).toFixed(2) + "%"); });
 Mousetrap.bind('!', show_commands);