Skip to content

Commit c53250b

Browse files
authored
improved popups
1 parent eaf0a95 commit c53250b

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

cosu.lua

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -406,16 +406,17 @@ function update(event, ...)
406406
},
407407
["text"] = {
408408
{
409-
"UPDATE AVAILABLE",
409+
"An Update is Available!",
410410
},{
411-
"v"..sVersion.." --> v"..sNewVersion.." | Do you want to proceed?",
411+
"v"..sVersion.." \26 v"..sNewVersion.."; Would you like to proceed?",
412412
"",
413+
"CHANGELOG:",
413414
table.unpack(tChangelog)
414415
}
415416
},
416417
["button"] = {
417-
{ ['x']=42, ['y']=6+#tChangelog, ["label"]="Update", ["status"]=false, ["func"]=function() update("now") end },
418-
{ ['x']=39, ['y']=6+#tChangelog, ["label"]="No", ["status"]=false, ["func"]=function() update("close") end }
418+
{ ['x']=42, ['y']=7+#tChangelog, ["label"]="Update", ["status"]=false, ["func"]=function() update("now") end },
419+
{ ['x']=39, ['y']=7+#tChangelog, ["label"]="No", ["status"]=false, ["func"]=function() update("close") end }
419420
}
420421
})
421422
end
@@ -501,16 +502,16 @@ function info(event, ...)
501502
},
502503
["text"] = {
503504
{
504-
"CONSULT (short cosu) | a Text editor",
505+
"CONSULT (cosu) - An DOS-alike Editor",
505506
},{
506-
" Available under the MIT License.",
507-
" (c) 2022, Sammy L. Koch",
508-
" Source: github.com/1Turtle/consult",
509-
" Version: "..sVersion
507+
"v"..sVersion.." (MIT Licensed)",
508+
"Source code available @ https://GitH\187",
509+
" ub.com/SammyForReal/CONSULT",
510+
"Copyright \169 2022-2026 Sammy L. Koch"
510511
}
511512
},
512513
["button"] = {
513-
{ ['x']=31, ['y']=8, ["label"]="Thanks", ["status"]=false, ["func"]=function() info("close") end }
514+
{ ['x']=32, ['y']=8, ["label"]="Thanks", ["status"]=false, ["func"]=function() info("close") end }
514515
}
515516
})
516517
end
@@ -556,7 +557,7 @@ function help(event, ...)
556557
["data"] = {
557558
{
558559
{
559-
"Text editor (for dummies) | (1/4)",
560+
"Text Editor (for dummies) | (1/4)",
560561
},{
561562
"* Navigate cursor with [ARROW] keys or ",
562563
" by clicking with the mouse.",
@@ -567,7 +568,7 @@ function help(event, ...)
567568
}
568569
},{
569570
{
570-
"Text editor (for dummies) | (2/4)",
571+
"Text Editor (for dummies) | (2/4)",
571572
},{
572573
" the RIGHT of your cursor with [DELETE]. ",
573574
"* To place ("..tostring(cosuConf.nTabSpace)..") spaces, use [TAB].",

0 commit comments

Comments
 (0)