| Post Reply | RetroFed Forum Forum Index » techsupport |
| Author | Message | ||
|---|---|---|---|
printf("%s", name);
piefed.blahaj.zone
akunohana@piefed.blahaj.zoneJoined: 2026-03-30 |
Goal: a program that takes a PS: the repetition of
|
||
| 6 Original | |||
|
mcmodknower
programming.dev
mcmodknower@programming.dev Joined: 2023-07-22 |
The first char appears because your terminal is echoing back what you are typing in. |
||
| 6 | |||
printf("%s", name);
piefed.blahaj.zone
akunohana@piefed.blahaj.zoneJoined: 2026-03-30 |
The first char appears because your terminal is echoing back what you are typing in. This is the default, and you see it also in most other programs, with password inputs as a big exception. Those tell the terminal in some way that it should disable the echo functionality, and turn it back on after the password has been read. see https://stackoverflow.com/questions/59922972/how-to-stop-echo-in-...
Nice! Thanks so much! :) |
||
| 5 | |||
| Post Reply |
Back to top |