gptel icon indicating copy to clipboard operation
gptel copied to clipboard

How to disable the highlight after its done generating

Open Celibistrial opened this issue 9 months ago • 6 comments

After generation of text the text is briefly highlighted in "yellow", how to disable this?

Celibistrial avatar May 08 '24 10:05 Celibistrial

It's not possible to disable this right now. What's the issue with the pulsing?

karthink avatar May 08 '24 17:05 karthink

It looks kinda ugly 2024-05-09_20-41

Celibistrial avatar May 09 '24 15:05 Celibistrial

Is the highlight persistent, or does it go away after a few milliseconds? (Also are you using the Emacs GUI or in a terminal?)

karthink avatar May 09 '24 21:05 karthink

Its not persistent , it doesn't go away on its own however (i have to press a button or move my mouse to make it go away) I am using emacs in the GUI(DOOM emacs)

Celibistrial avatar May 10 '24 16:05 Celibistrial

Try (setq pulse-flag t).

karthink avatar May 10 '24 20:05 karthink

Oh thats much better, is there anyway to change the colour?

Celibistrial avatar May 12 '24 18:05 Celibistrial

Yes, you can customize pulse-highlight-start-face.

karthink avatar May 17 '24 19:05 karthink

Oh okay thanks! This solves my issue. Just a thought: adding an option to disable highlights might be helpful.

Celibistrial avatar May 21 '24 17:05 Celibistrial

Just a thought: adding an option to disable highlights might be helpful.

It's on the docket, will get to it at some point.

karthink avatar May 21 '24 18:05 karthink