Commit bb0ef4aa authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: minishell prevents <Tab> keystroke from happening

parent 12d9fe85
...@@ -74,5 +74,11 @@ $(document).ready(function () { ...@@ -74,5 +74,11 @@ $(document).ready(function () {
$("#shell-input").val(shellHistory[currentCommand]); $("#shell-input").val(shellHistory[currentCommand]);
} }
} }
//if Tab is pressed
if(event.which === 9) {
event.preventDefault();
$("#error").Popup("Sorry, Tab completion is not handled for the moment in MiniShell", {type: 'info', duration: 1000})
}
}); });
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment