Fixing bad reference in bookmark add

This commit is contained in:
sloumdrone 2019-01-06 09:00:56 -08:00
parent 9a5188fc0b
commit 4c0268125b
1 changed files with 7 additions and 4 deletions

11
stubb
View File

@ -1,6 +1,6 @@
#!/usr/bin/env lua
local version = 'v0.8.6'
local version = 'v0.8.7'
local socket = require("socket")
local urlparser = require("socket.url")
local separator = '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n'
@ -207,7 +207,7 @@ end
function add_favorite()
local th = session.tabs[session.current_tab].history
if #session.history.items == 0 then return false end
if #th.items == 0 then return false end
local title
repeat
io.write('Enter title for bookmark (! to cancel): ')
@ -346,7 +346,8 @@ function print_help()
0 (text) and 1 (gopher map). The application is named for the character Stubb
from Moby Dick known for his imaginative patter and good humor.
The command bar lists the current tab number, out of how many total tabs. It also lists the current place in history (for the tab you are currently on).
The command bar lists the current tab number, out of how many total tabs. It also
lists the current place in history (for the tab you are currently on).
Commands:
@ -381,7 +382,9 @@ function print_help()
http://tildegit.org/sloum/stubb
Stubb is free, as in freedom, software. Modify it as you see fit, give it to whoever you want. It would be great if you referenced the original or cross linked, but it is not required.
Stubb is free, as in freedom, software. Modify it as you see fit, give it to
whoever you want. It would be great if you referenced the original or cross
linked, but it is not required.
]]
print(helpstring)