
Tab Completion
April 29, 2024About 1 min
Tab Completion 관련
How to Create an Interactive Terminal Portfolio Website
In this article, you will learn how to create an interactive terminal-based portfolio and a résumé in JavaScript. We'll use the jQuery Terminal library (and a few other tools) to create a website that looks like a real terminal. This article will sho...
How to Create an Interactive Terminal Portfolio Website
In this article, you will learn how to create an interactive terminal-based portfolio and a résumé in JavaScript. We'll use the jQuery Terminal library (and a few other tools) to create a website that looks like a real terminal. This article will sho...
Another feature we can add is to complete the command when you press the tab key. This is super easy – we only need to add the completion option set to true:
const term = $('body').terminal(commands, {
greetings: false,
checkArity: false,
exit: false,
completion: true
});
Now when you type h
and press tab, it will complete the command help
for you.