Fix 2 deprecation warnings
This commit is contained in:
parent
f8aa39a8ab
commit
dfae077cee
|
@ -26,7 +26,7 @@ end
|
||||||
|
|
||||||
-- Create a new tag at the end of the list
|
-- Create a new tag at the end of the list
|
||||||
local function new_tag()
|
local function new_tag()
|
||||||
aw_tag.viewonly(aw_tag.add("NewTag",{screen= get_current_screen() }))
|
aw_tag.add("NewTag",{screen= get_current_screen() }):view_only()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function new_tag_with_focussed()
|
local function new_tag_with_focussed()
|
||||||
|
@ -70,7 +70,7 @@ local function rename_tag()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function term_in_current_tag()
|
local function term_in_current_tag()
|
||||||
aw_spawn(terminal,{intrusive=true,slave=true,screen=get_current_screen()})
|
aw_spawn(terminal,{tag=get_current_screen().selected_tag,slave=true,screen=get_current_screen()})
|
||||||
end
|
end
|
||||||
|
|
||||||
local function new_tag_with_term()
|
local function new_tag_with_term()
|
||||||
|
|
Loading…
Reference in New Issue