Skip to content

Commit

Permalink
🔀 Merge pull request #19 from FleksySDK/fix_fleksy
Browse files Browse the repository at this point in the history
Fix punctuation issue with fleksy keyboard
  • Loading branch information
astariul authored May 9, 2024
2 parents b2e63b1 + 5c44154 commit eb4d56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kebbie/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def _paste(self, text: str):
# (which is what we want). On iOS it will not, we need to do it "manually"
if self.platform == IOS:
self.typing_field.clear()
if self.keyboard == KBKITPRO or self.keyboard == KBKITOSS:
# In the case of KeyboardKit, after pasting the content, typing a space
if self.keyboard == KBKITPRO or self.keyboard == KBKITOSS or self.keyboard == FLEKSY:
# In the case of KeyboardKit / Fleksy, after pasting the content, typing a space
# trigger a punctuation (because previous context may end with a space)
# To avoid this behavior, break the cycle by typing a backspace
self._tap(self.layout["lowercase"]["backspace"])
Expand Down

0 comments on commit eb4d56b

Please sign in to comment.