karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.03k stars 111 forks source link

How to disable the highlight after its done generating #308

Closed Celibistrial closed 1 month ago

Celibistrial commented 1 month ago

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

karthink commented 1 month ago

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

Celibistrial commented 1 month ago

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

karthink commented 1 month ago

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

Celibistrial commented 1 month ago

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)

karthink commented 1 month ago

Try (setq pulse-flag t).

Celibistrial commented 1 month ago

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

karthink commented 1 month ago

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

Celibistrial commented 1 month ago

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

karthink commented 1 month ago

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

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