Commit Graph

3 Commits (master)

Author SHA1 Message Date
Perseus 17d50df194
Adds RELATIVE event catcher (#187)
close #180
1 year ago
Kai Xia(夏恺) 9f5002ee1b
Ensure the launched commands are not terminated by the stop of xremap. (#214)
* Ensure the launched commands are not terminated by the stop of xremap.

Fix #213.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* also stop child processes on unhappy path.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* fix fmt

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

Signed-off-by: Kai Xia <kaix+github@fastmail.com>
1 year ago
Takashi Kokubun d02446a040
Split ActionDispatcher from EventHandler (#200)
* Introduce Event enum

* Rename KeyAction/Action to ModmapAction/KeymapAction

* Introduce Action enum and ActionDispatcher

* Convert OverrideTimeout to an event

* thread::sleep should also be an Action

* Command should also be an Action

* Make InputEvent an Action

* Start writing tests for EventHandler

* cargo fmt
2 years ago