How to fix typo in terminal?

已回答

I made a program that calculates averages and I have a small issue. Sometimes I have a typo and I was wondering, is it possible to go back to my previous inputs in the terminal and fix them, other than restarting the entire program? Thanks in advance!

0

You can’t edit stdin retroactively, but you can use the debugger and Edit variables instead of running the program.

0

请先登录再写评论。