Skip to content

Commit 434f22d

Browse files
committed
add "http" that terminal recognize it as a link
1 parent e25e276 commit 434f22d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dailyprogrammer.lua

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
local FILE_NAME = 'dailyprogrammer.txt'
1+
#!/usr/bin/env lua
2+
3+
local FILE_NAME = '.dailyprogrammer.txt'
24
local T_MODES = {'easy','intermediate','difficult','hard'}
35
local t_links = {}
46

@@ -57,7 +59,7 @@ end
5759

5860
for _,mode in pairs(T_MODES) do
5961
for _,link in pairs(t_mode[mode]) do
60-
print(mode..string.rep(' ',12-#mode),link)
62+
print(mode..string.rep(' ',12-#mode),'http://reddit.com'..link)
6163
end
6264
end
6365

0 commit comments

Comments
 (0)