我目前的项目
我正在尝试使用 jQuery 终端制作一个终端样式的网页。
我的问题
我不知道如何向终端添加多个命令。
这是我的代码:
$('body').terminal({
hello: function(name) {
this.echo('Hello, ' + name +
'. Welcome to the Rapocrythia command line.');
}
}, {
greetings: 'Rapocrythia Command Line[Version 0.0.1]\n(c) Copyright Rapocrythia Systems, Inc. All Rights Reserved.'
}
);