File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ utils = require("libraries.utils")
15
15
lgi = require (" lgi" )
16
16
Gtk = lgi .require (' Gtk' , ' 3.0' )
17
17
Gdk = lgi .require (' Gdk' , ' 3.0' )
18
- Vte = lgi .Vte
19
- GLib = lgi .GLib
18
+ Vte = lgi .require ( ' Vte' , ' 2.91 ' )
19
+ GLib = lgi .require ( ' GLib' , ' 2.0 ' )
20
20
21
21
app = Gtk .Application ()
22
22
term = Vte .Terminal ()
Original file line number Diff line number Diff line change 8
8
9
9
about_window = Gtk .AboutDialog ({
10
10
program_name = ' Moonterm' ,
11
- version = ' 2 .0' ,
11
+ version = ' 3 .0' ,
12
12
copyright = ' Díaz Urbaneja Víctor Diego Alejandro\n Copyright © 2021' ,
13
13
comments = ' a minimalist and customizable terminal in lua' ,
14
14
website = ' https://github.com/moonsteal/moonterm' ,
@@ -57,7 +57,8 @@ function app:on_activate()
57
57
dialog_config .child .entry_interpreter .text = conf .moonterm .interpreter
58
58
main_window :set_titlebar (headerbar )
59
59
main_window .child .scroll :add (term )
60
- main_window .set_icon_name (main_window ,' terminal' )
60
+ main_window :set_icon_name (' terminal' )
61
+ if arg [1 ] then term :feed_child_binary (arg [1 ] .. " \n " ) end
61
62
if conf .moonterm .quake_mode == true then
62
63
main_window .decorated = false
63
64
main_window :resize (Gdk .Screen .width (), Gdk .Screen .height ()* (50 / 100 ))
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ content = Gtk.Box {
15
15
orientation = ' VERTICAL' ,
16
16
spacing = 5 ,
17
17
border_width = 5 ,
18
- Gtk .Box {
18
+ Gtk .Box {
19
19
orientation = ' HORIZONTAL' ,
20
20
Gtk .Label {
21
21
label = " Interpreter : " ,
@@ -25,7 +25,7 @@ content = Gtk.Box {
25
25
id = ' entry_interpreter'
26
26
}
27
27
},
28
- Gtk .Box {
28
+ Gtk .Box {
29
29
orientation = ' HORIZONTAL' ,
30
30
spacing = 5 ,
31
31
border_width = 5 ,
You can’t perform that action at this time.
0 commit comments