Skip to content

Commit

Permalink
Fix file read on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
natural-harmonia-gropius committed Apr 1, 2023
1 parent f9b7a06 commit efc2b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputevent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ function bind_from_json(path)
if not json_file then
return {}
end
local json = json_file:read("a")
local json = json_file:read("*all")
json_file:close()

local parsed = utils.parse_json(json)
Expand Down

0 comments on commit efc2b4b

Please sign in to comment.