Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tilda does not accept non-ASCII characters from Espanso #494

Open
Kzer-Za opened this issue Oct 21, 2022 · 0 comments
Open

Tilda does not accept non-ASCII characters from Espanso #494

Kzer-Za opened this issue Oct 21, 2022 · 0 comments

Comments

@Kzer-Za
Copy link

Kzer-Za commented Oct 21, 2022

Espanso is software that replaces a string from your input (keyword) with some other string (replacement), very useful. However, if a replacement contains non-ASCII characters, and if you are triggering Espanso in a Tilda window, the replacement does not get into the Tilda window.

Steps to reproduce (assuming Espanso is installed and running):

  1. Put
  - trigger: ":test"
    replace: 'тест'

into default.yml in the Espanso config dir. (The "тест" is taken just for example, of course; you can replace it with any other text containing non-ASCII characters: when I ran into this bug I actually had a Hebrew word in the replacement).

  1. Open Tilda
  2. Type :test.

The observed result: :test gets replaced with an empty input field or with ^[[D.

The expected result: :test gets replaced with тест.

If the replacement contains only ASCII characters, Tilda accepts the replacement without problems.

Other terminals that I have tested it with (XFCE-terminal and urxvt) do not have this problem, i.e. they take non-ASCII replacement from Espanso.

This also does not depend on the shell: I have tested it with bash and zsh and they both have this problem in Tilda and do not in other terminals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant