Add config and command executor
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -66,6 +66,12 @@ auto App::tick() -> void
|
||||
result.test(1)) {
|
||||
m_ime.surrounding_dirty = true;
|
||||
} else if (result.test(0)) {
|
||||
if (text_input_data == "kitty") {
|
||||
execute_command(false, "kitty");
|
||||
} else if (text_input_data == "nvim") {
|
||||
execute_command(true, "nvim");
|
||||
}
|
||||
|
||||
text_input_data = "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user