aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-08-28 08:42:36 +0200
committerTeddy Wing2018-08-28 08:42:36 +0200
commit2a3731003a53104340658c95491dc9587d2cea6c (patch)
treeffa4c8d5c5e91e79245f03f9440bcc4982e6368b /lib
parent815bf3e8601b6d0cfb0296c6f2c302aaf5059b23 (diff)
downloadDomeKey-2a3731003a53104340658c95491dc9587d2cea6c.tar.bz2
HeadphoneKey(runAction): Take `strlen` out of loop
This appears to fix the weirdness I was having in 815bf3e8601b6d0cfb0296c6f2c302aaf5059b23, where extra characters were getting sent to `simpleKeyPressWithKey:` even though there was only 1 element (the correct number of elements) in the `action` array/string. I guess before the length was getting recalculated on each iteration of the loop. Previously, this would result in the Vim `x` command getting entered just after the map action (for example `j`). Now it appears to work correctly.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions