vis: tweak title
parent
852aeb11f3
commit
732cf0b2c3
|
@ -123,10 +123,10 @@ e.subscribe(e.WIN_STATUS, function(win)
|
|||
win:status(table.concat({ left, ('^'):rep(win.width - #left - #right - 2)}, ' '), right)
|
||||
end)
|
||||
|
||||
-- title
|
||||
-- set title
|
||||
local modified = false
|
||||
local function set_title(title)
|
||||
os.execute('printf "\\e];vis: '..title..(modified and '[+]' or '')..'\\e"')
|
||||
os.execute('printf "\\e];'..title..(modified and '[+]' or '')..'\\e"')
|
||||
end
|
||||
|
||||
e.subscribe(e.WIN_OPEN, function(win)
|
||||
|
|
Loading…
Reference in New Issue