Comments (5)
Whenever I press , the text in chatgpt buffer shifts downwards
Can you share a bit more? Is this not typically expected?
Do you happen to have the behaviour you'd like in another shell? Maybe show how that one is configured?
In terms of hooks, chatgpt-shell is comint-based, so all same hooks should available there too.
from chatgpt-shell.
Can you share a bit more? Is this not typically expected?
I'm not entirely sure as I've just started using the package, but I've noticed that the prompt always ends up at the bottom. For some reason, I think I might prefer it to be (recenter)
ed. However, I could be wrong, and I plan to experiment with it some more. By the way, I probably should have added a disclaimer that this is not an actual issue or complaint. I opened it as a means for discussion.
from chatgpt-shell.
but I've noticed that the prompt always ends up at the bottom.
A benefit is that with ChatGPT giving long answers, keeping the prompt at the bottom increases the amount of readable output/response text. Having said that, prolly just user preference.
I think I might prefer it to be (recenter)ed
With the latest, you should be able to do something like
(defun my/chatgpt-shell-recenter (_command _output)
(recenter))
(add-hook 'chatgpt-shell-after-command-functions
'my/chatgpt-shell-recenter)
I've just renamed the variable to behave like an abnormal hook. Lemme know if you run into issues.
By the way, I probably should have added a disclaimer that this is not an actual issue or complaint. I opened it as a means for discussion.
No worries! Didn't think it was a coimplaint.
from chatgpt-shell.
Very nice. Thank you. I have started using other commands like chatgp-shell-proofreading-doc
more, and I'm not typing directly in the "chatgpt repl" as much as before. And I still can't decide which way I prefer better: the default or recentered. But having multiple choices is great. I appreciate you taking the time to add the hook. Honestly, I didn't expect you to respond with new code so quickly. I'll try to be careful next time with expressing what I wish for 😄
from chatgpt-shell.
I appreciate you taking the time to add the hook. Honestly, I didn't expect you to respond with new code so quickly.
👍
I'll try to be careful next time with expressing what I wish for 😄
All good. Looks like we can close this issue now. Please reopen if otherwise.
from chatgpt-shell.
Related Issues (20)
- selecting prompt for compose HOT 1
- shell maker cursor not returning properly at the end of prompt HOT 1
- better chatgpt-shell-prompt-compose interactions with existing prompt HOT 2
- Can't fold #+RESULT: section in org-babel HOT 3
- Prompt user to save shell transcript if pending HOT 1
- Tutorial on how to use, if possible Jan and other open source alternatives to chatgpt HOT 1
- Add variable to disable transcript saving prompt on exit HOT 1
- Closing the chatgpt-shell compose window while answer is streaming in 'hangs' Emacs until finished and produces many errors HOT 3
- Make display-buffer-alist configuration customizable HOT 6
- Is there a way to start a new session AND clear the chat buffer? HOT 2
- Interference of shell-maker HOT 2
- Dependence on curl HOT 1
- chatgpt-shell does not require dired
- chatgpt-shell-describe-image fails with the error "/usr/bin/emacs: /usr/bin/curl: Argument list too long" HOT 12
- Groq's API support HOT 3
- Using local Ollama models HOT 1
- How can I send a line?
- Installing dall-e-shell gives a warning/error HOT 2
- curl: (48) An unknown option was passed in to libcurl HOT 2
- You exceeded your current quota HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-shell.