bats icon indicating copy to clipboard operation
bats copied to clipboard

Running bats eats the flashing cursor on ubuntu

Open AlexDikelsky opened this issue 5 years ago • 2 comments

https://asciinema.org/a/rq5FcP4bdiNzhGnice8QP1fGB

You can see a white flashing box where I'm typing before I run bats, but not after. I tried this in zsh and bash, and it happened for both. I'm running ubuntu.

Output of lsb_release -a:

Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

AlexDikelsky avatar Oct 18 '19 19:10 AlexDikelsky

To fix this properly I think we need a SIGINT handler that shows the cursor again (and probably does a few other things like print a newline)

tarcieri avatar Oct 18 '19 21:10 tarcieri

This is the case for me too

austinbes avatar Oct 18 '19 23:10 austinbes