fix minor error

This commit is contained in:
Xuan Sang LE
2018-01-30 19:06:30 +01:00
parent 02422319ca
commit de387ece25
23 changed files with 190 additions and 95 deletions

View File

@ -31,6 +31,8 @@ class wTerm extends this.OS.GUI.BaseApplication
end = if (i + 1) * 1000 > len then len else (i + 1) * 1000
me.term.write pastedText.substring i * 1000, end
#self.socket.send("i"+ substr.replace(/\n/g,"\r\n"))
# make desktop menu if not exist
@systemsetting.desktop.menu.push { text: "Open terminal", app: "wTerm" }
@openSession()
@on "vboxchange", (e) -> me.resizeContent e.w, e.h

View File

@ -1,5 +1,5 @@
<afx-app-window apptitle="Preview" width="600" height="400">
<afx-vbox data-id = "mybox">
<afx-hbox data-id = "mybox">
<div data-id="myterm" ></div>
</afx-vbox>
</afx-hbox>
</afx-app-window>