Skip to content

Commit

Permalink
added bell & backspace sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
Upbolt committed Nov 7, 2021
1 parent 5e8ad7b commit c796e04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion methods/string.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ local function dataToString(data)
:gsub("\t", "\\t")
:gsub('\f', '\\f')
:gsub('\r', '\\r')
:gsub('\v', '\\v') .. '"'
:gsub('\v', '\\v')
:gsub('\a', '\\a')
:gsub('\b', '\\b') .. '"'
elseif dataType == "table" then
return tableToString(data)
elseif dataType == "userdata" then
Expand Down

0 comments on commit c796e04

Please sign in to comment.