deploy-rs icon indicating copy to clipboard operation
deploy-rs copied to clipboard

When deployment fails, the terminal afterwards eats half of my input keys

Open wucke13 opened this issue 4 years ago • 4 comments
trafficstars

When a deployment failed, the terminal eats up some of the keys I press. Restarting the terminal fixes the issue. I'm using alacritty + zsh, so fairly basic setup.

wucke13 avatar Jul 22 '21 19:07 wucke13

same here with alacritty/emacs-vterm + bash

MagicRB avatar Jul 22 '21 19:07 MagicRB

@wucke13 when this happens a ssh process is left behind like you mention in #107 and that causes the lost input, if you kill it then everything works like normal.

function deploy() {
    env deploy $@
    ps | awk '/ssh/ {print $1}' | xargs kill
}

temporary fix

MagicRB avatar Jul 24 '21 16:07 MagicRB

I just ran a failing deployment using nix run github:serokell/deploy-rs, and again my terminal is acting up. This is not fixed. Please reopen!

wucke13 avatar Jan 09 '22 15:01 wucke13

One possible fix is to run this in a systemd user unit. Given those are enabled by default on nixos, it seems like a reasonable solution.

I might have a stab at that, if nobody objects. Ran into the same problem as well.

Baughn avatar Jan 27 '22 17:01 Baughn