Open troncoso opened 2 months ago
I don't think it's happening in the "wrong order" per se, it's that spawning your task is an async action so SendKeystrokes
can't "wait" until it's completed before performing the next action. The
I think this behavior is documented as a limitation of workspace::SendKeystrokes
with async things. From the zed keybinding docs
Check for existing issues
Describe the bug / provide steps to reproduce it
I want a keystroke that runs a task, focuses on the terminal, then zooms in on the terminal. However, there is a flash where the main editor is zoomed for a second, then returns to normal before open the new terminal, but not zoomed in. This is my key binding:
This is my task:
Environment
Zed: v0.147.2 (Zed) OS: macOS 14.5.0 Memory: 64 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Here is a video demonstrating the problem:
https://github.com/user-attachments/assets/7cfec8f2-cb97-4279-8f49-50da375fcfa0
If applicable, attach your Zed.log file to this issue.
Zed.log