mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-27 11:19:47 +02:00
fix minor error
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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>
|
Reference in New Issue
Block a user