Git Product home page Git Product logo

Comments (5)

Yorgg avatar Yorgg commented on August 16, 2024

I was able to remove this error by adding a sleep call:

def _esc():
    Key("escape:down").execute()
    Key("escape:up").execute()
    sleep(0.1)

from aenea.

Versatilus avatar Versatilus commented on August 16, 2024

I'm not familiar with the aenea code base, but I know the basic Dragonfly API allows a pause or delay to be given inside of the key spec. I believe it works something like Key("escape/10"), with time being hundredths of a second.

from aenea.

Yorgg avatar Yorgg commented on August 16, 2024

thanks Versatilus, I had tried that but it also didn't work.

from aenea.

Yorgg avatar Yorgg commented on August 16, 2024

Hmm, I assume this is not related to Aenea, and mark as resolved.

from aenea.

calmofthestorm avatar calmofthestorm commented on August 16, 2024

I believe the "escape/10" thing could be made to work in Aenea; we use our own key parser and I don't remember if we implement that notation. But the broader question of why a pause is needed I suspect is mostly likely a function of xdotool/x itself.

from aenea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.