add shortcut to vterm

This commit is contained in:
Xuan Sang LE
2021-03-17 21:34:27 +01:00
parent b243751aa0
commit 16909a4ed4
12 changed files with 549 additions and 152 deletions

View File

@ -1 +1,34 @@
(function(){var t;(t=class extends this.OS.application.BaseApplication{constructor(t){super("About",t)}main(){var t,n;return t=this,this.container=this.find("container"),(n="os://README.md").asFileHandle().read().then((function(n){var i;return i=new showdown.Converter,$(t.container).html(i.makeHtml(n))})).catch(()=>this.notify(__("Unable to read: {0}",n))),this.find("btnclose").onbtclick=()=>this.quit()}}).singleton=!0,t.dependencies=["os://scripts/showdown.min.js"],this.OS.register("About",t)}).call(this);
(function() {
var About;
About = class About extends this.OS.application.BaseApplication {
constructor(args) {
super("About", args);
}
main() {
var me, path;
me = this;
this.container = this.find("container");
path = "os://README.md";
path.asFileHandle().read().then(function(txt) {
var converter;
converter = new showdown.Converter();
return ($(me.container)).html(converter.makeHtml(txt));
}).catch(() => {
return this.notify(__("Unable to read: {0}", path));
});
return this.find("btnclose").onbtclick = () => {
return this.quit();
};
}
};
About.singleton = true;
About.dependencies = ["os://scripts/showdown.min.js"];
this.OS.register("About", About);
}).call(this);