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

Commands in keybinds block the viewport #9861

Open
postsolar opened this issue Mar 12, 2024 · 1 comment
Open

Commands in keybinds block the viewport #9861

postsolar opened this issue Mar 12, 2024 · 1 comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@postsolar
Copy link
Contributor

# .helix/config.toml
[keys.normal.A-space]
r = [ ":hs /dev/null", ":insert-output sleep 3; echo 1" ]

Expected behavior

I would see a split open and then only the command I run would block.

Actual behavior

The command first blocks. The split opens only when the command completes.

Related discussion

The ideal solution for my use case would be the option to run a command and insert its output asynchronously. I admit it might sound somewhat close to the idea of an integrated terminal, but I think the key difference here is that there's no shell and no interaction with a shell involved — just non-blocking auto-reload of a file.

@postsolar postsolar added the C-enhancement Category: Improvements label Mar 12, 2024
@kirawi
Copy link
Member

kirawi commented Mar 12, 2024

This underlying reason is possibly related to #9126 and #6513

@kirawi kirawi added the A-helix-term Area: Helix term improvements label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants