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

Cursor Not Blinking #302

Closed
dkrieger opened this issue Jan 12, 2017 · 32 comments · Fixed by #3931
Closed

Cursor Not Blinking #302

dkrieger opened this issue Jan 12, 2017 · 32 comments · Fixed by #3931

Comments

@dkrieger
Copy link

@dkrieger dkrieger commented Jan 12, 2017

Is there an option to cause the cursor to blink? I find it to be helpful confirmation that the terminal has (or doesn't have) focus.

@jwilm
Copy link
Collaborator

@jwilm jwilm commented Jan 12, 2017

Blinking just hasn't been implemented yet. Even if it were, there's another piece missing to make i stop blinking when the window isn't focused.

@jwilm jwilm added the B - bug label Jan 12, 2017
@dkrieger
Copy link
Author

@dkrieger dkrieger commented Jan 12, 2017

I thought that might be the case, didn't see an issue for it though. Thanks for the confirmation

@jwilm
Copy link
Collaborator

@jwilm jwilm commented Jan 12, 2017

didn't see an issue for it though

Thanks for filing this one!

@moon-chilled
Copy link

@moon-chilled moon-chilled commented Jan 21, 2017

I'd like to express my support for an option to DISABLE blinking, once it arrives. I detest blinking. The screen is constantly changing, and I can't focus on what I'm writing. Not an attack on people who do like it, or anything, just a request.

@impowski impowski mentioned this issue Jan 23, 2017
5 tasks
@rafi
Copy link

@rafi rafi commented Jun 25, 2017

@jwilm is the piece (to make cursor stop blinking when the window isn't focused) still missing? :)

@jwilm
Copy link
Collaborator

@jwilm jwilm commented Jun 25, 2017

@rafi cursor doesn't blink at all yet

@Thermatix
Copy link

@Thermatix Thermatix commented May 1, 2018

@jwilm is cursor blinking implemented yet?

@chrisduerr
Copy link
Member

@chrisduerr chrisduerr commented May 1, 2018

It is not.

@martskins
Copy link

@martskins martskins commented Oct 13, 2018

any hints on where one should be looking to solve this one?

@chrisduerr
Copy link
Member

@chrisduerr chrisduerr commented Oct 13, 2018

This isn't super simple, since a proper implementation would probably make use of a common interface to specify things which can automatically repeat based on a timer.

Things like scrolling during selection would also benefit from something like that.

I've personally tried to make a little PoC of something like that work in here: #1512, however there certainly is some complexity to this and I'm not sure which approach I'd be happiest with.

@tehdb

This comment has been minimized.

1 similar comment
@go1dshtein

This comment has been minimized.

@M1cR0xf7

This comment has been minimized.

@unphased

This comment has been minimized.

@cmarincia

This comment has been minimized.

@chrisduerr chrisduerr mentioned this issue Jan 13, 2020
3 tasks
@DLFW

This comment has been minimized.

@rochr4
Copy link

@rochr4 rochr4 commented May 4, 2020

I also miss blinking cursor, helps on hidpi screens, if it is implemented it should honor .inputrc settings like:

set vi-ins-mode-string \033[1;31m<(ins)>\033[0m \1\e[5 q\2
set vi-cmd-mode-string \033[1;30m<(cmd)>\033[0m \1\e[1 q\2

what alacritty could add is a timer, like xfce4-terminal does it for eg.

@Piping
Copy link

@Piping Piping commented Jun 25, 2020

need a way to set cursor blinking in alacritty.yaml file.

@ThatOneCalculator
Copy link

@ThatOneCalculator ThatOneCalculator commented Aug 12, 2020

Any progress on this?

@rumpelsepp
Copy link

@rumpelsepp rumpelsepp commented Aug 12, 2020

@ThatOneCalculator #3931

@ThatOneCalculator
Copy link

@ThatOneCalculator ThatOneCalculator commented Aug 12, 2020

@ThatOneCalculator #3931

Is there a way to use that branch?

@Dettorer
Copy link
Contributor

@Dettorer Dettorer commented Aug 13, 2020

Please note this branch isn't fully functional yet.

@adityamwagh
Copy link

@adityamwagh adityamwagh commented Aug 30, 2020

Any update on the implementation?

@Dettorer
Copy link
Contributor

@Dettorer Dettorer commented Aug 30, 2020

Not yet, see PR #3931

@Adoliin
Copy link

@Adoliin Adoliin commented Feb 14, 2021

Any update?

@rochr4
Copy link

@rochr4 rochr4 commented Feb 15, 2021

It works now, maybe You need to set it like '\1\e[1 q\2' in ~/.inputrc

@AndrewKaeppel
Copy link

@AndrewKaeppel AndrewKaeppel commented Feb 28, 2021

Add the following to your alacritty.yml:

cursor:
  style:
    blinking: Always
    blink_interval: 500

Then close and reopen your terminal. See the default config for more info.

@hrqmonteiro
Copy link

@hrqmonteiro hrqmonteiro commented Apr 16, 2021

Add the following to your alacritty.yml:

cursor:
  style:
    blinking: Always
    blink_interval: 500

Then close and reopen your terminal. See the default config for more info.

Not working.

@timmyjose
Copy link

@timmyjose timmyjose commented May 1, 2021

Add the following to your alacritty.yml:

cursor:
  style:
    blinking: Always
    blink_interval: 500

Then close and reopen your terminal. See the default config for more info.

Not working.

Yup, doesn't work for me either - on macOS.

@aboivin
Copy link

@aboivin aboivin commented May 6, 2021

This worked for me :

cursor:
  style:
    blinking: Always
  blink_interval: 500

close and reopen

@liuyigh
Copy link

@liuyigh liuyigh commented Feb 20, 2022

Works for me:

cursor:
  style:
    shape: Block
    blinking: Always
  blink_interval: 500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.