- bootstrap with typeahead
- jquery
This will use bootstrap with typeahead to create an autocomplete search.
| local sendEscape = true | |
| local ctrlKeyTimer = hs.timer.delayed.new(0.15, function() | |
| sendEscape = false | |
| end) | |
| local lastMods = {} | |
| local flagsChangedHandler = function(event) | |
| local newMods = event:getFlags() | |
| if lastMods.ctrl == newMods.ctrl then return false end |