TheThirdOne / rars

RARS -- RISC-V Assembler and Runtime Simulator
Other
1.18k stars 217 forks source link

Input buffering in console mode added #174

Open tarvlad opened 1 year ago

tarvlad commented 1 year ago

Fixed a problem with the lack of input buffering when working in console mode. Now, when you press enter, the line will be saved to the buffer and subsequent calls will reads from there (if there are characters there), which will allow you not to lose the next characters after reading from the input stream