Implement `modifier' run control keyword

This commit is contained in:
Thibault Jouan
2015-04-14 03:22:47 +00:00
parent 620150b6d8
commit 6ac26c370e
9 changed files with 58 additions and 18 deletions

View File

@@ -50,6 +50,13 @@ module Uh
end
end
describe '#modifier' do
it 'updates env modifier' do
rc.modifier :ctrl
expect(env.modifier).to eq :ctrl
end
end
describe '#key' do
let(:code) { -> { :keybind_code } }