Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #910: set crow input modes #911

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -53,7 +53,7 @@ function input.new(x)
i.stream = function(v) print("crow input stream: "..i.n.." "..v) end
i.change = function(v) print("crow input change: "..i.n.." "..v) end
i.mode = function(m,a,b,c)
local cmd = "input["..i.n.."].mode("..tostringwithquotes(m)
local cmd = "input["..i.n.."].set_mode("..tostringwithquotes(m)
if a ~= nil then cmd = cmd .. "," .. a end
if b ~= nil then cmd = cmd .. "," .. b end
if c ~= nil then cmd = cmd .. "," .. tostringwithquotes(c) end
ProTip! Use n and p to navigate between commits in a pull request.