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

Streaming text appears below the visible Emacs window #119

Open
gnusupport opened this issue Jun 26, 2023 · 5 comments
Open

Streaming text appears below the visible Emacs window #119

gnusupport opened this issue Jun 26, 2023 · 5 comments

Comments

@gnusupport
Copy link

After git pull I could see many improvements you made, thank you. Now I am observing that streaming text often goes below the visible Emacs window, and then I need to scroll down to see it, while before the scrolling was automatic, if I remember well.

@xenodium
Copy link
Owner

Ah yes, this was intended as it enables moving the point or scrolling elsewhere while response is in progress. It should, however, jump to the end of the reponse when finished. Is that what you're observing?

@aiwebdude
Copy link

In my case it does jump to the end of the response when chatgpt is done. I am getting used to that since the realtime scrolling in other emacs buffers spoiled me. there is this urge to scroll immediately and also the possibility to think nothing happened the AI is hanging/frozen. Not sure what the nicest way would be.

@gnusupport
Copy link
Author

I prefer to see text being written in Emacs during the time it is being written, and not something being written and invisible in Emacs just to appear later. Use cases may vary. Text I am getting from ChatGPT is long.

@aiwebdude
Copy link

aiwebdude commented Aug 21, 2023

Could a reposition of the gpt prompt when starting to reply to the top of the buffer be a compromise? … but maybe that’s disorienting (layout shift)

@xenodium
Copy link
Owner

The behaviour I'd like to eventually adopt is similar to eshell's... if point is at end of the buffer automatically scroll on new text arrival. Otherwise keep location. This should appeal to both camps. Not had time to look into adding this.

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

No branches or pull requests

3 participants