Can ChatGPT save input and present it back to the user on demand?

In the realm of having ChatGPT generate code from user input at the “input window”: Could the inputs to ChatGPT be automatically saved and presented as a single window/pane on request?

Generating code is a very interactive activity; having a “log” of my inputs up to the current point helps me examine how I got to where I am, helps me refine my inputs, and helps me “save” how I wrote a particular piece of code.

Tom Alborough