j178 / chatgpt

An elegant interactive CLI for ChatGPT
694 stars 52 forks source link

When the generated content is too long, it gets obscured, especially the code. #27

Closed hardy4yooz closed 1 year ago

hardy4yooz commented 1 year ago

image

I can't see what I previously typed anymore, and I can't even see the entire code block.

j178 commented 1 year ago

You can use or page up to scroll through the view port.

image

hardy4yooz commented 1 year ago

works in warp but not in iTerm2. On the other hand, using up and down arrows to navigate through recently used input is a better choice.

j178 commented 1 year ago

I am using iTerm2, and ↑ works well.

On the other hand, using up and down arrows to navigate through recently used input is a better choice.

I agree, will think how to improve this.

j178 commented 1 year ago

Changed and to navigate through input history in https://github.com/j178/chatgpt/commit/6b0dca5fc788c951347c9a3c9991f4ac3547447c, will be available in next version.