The terminal supports control characters that allow you to move the cursor back to the beginning of the line, or anywhere in the terminal for that matter.
From shell scripts you can use something like tput to position the cursor and then print over the existing output, and then it just looks like an update.
For a starting point to the concepts check out the Wikipedia article for the POSIX terminal interface
All languages should have some kind of library available, sometimes hundreds.
It’s beating a dead horse, and while I don’t agree VSCode is a as bad as all that, if you’re worried about RAM, generally stay clear of electron apps. Look at SublimeText for a similarly configurable editor, with much better ram usage, especially in very large files.
As everyone says, tmux. But specifically if you’re using the Java Minecraft server look over at the MC wiki because there are better options for managing it so it starts at boot as a daemon, but still be able to send commands. They’re a better long term solution.
The terminal supports control characters that allow you to move the cursor back to the beginning of the line, or anywhere in the terminal for that matter.
From shell scripts you can use something like tput to position the cursor and then print over the existing output, and then it just looks like an update.
For a starting point to the concepts check out the Wikipedia article for the POSIX terminal interface
All languages should have some kind of library available, sometimes hundreds.
It’s beating a dead horse, and while I don’t agree VSCode is a as bad as all that, if you’re worried about RAM, generally stay clear of electron apps. Look at SublimeText for a similarly configurable editor, with much better ram usage, especially in very large files.
Yeah but in that case you the infer the programmer is a royal asshole.
But I take your point.
Lesson three: don’t ever become an arrogant prick like colshrapnel here.
As everyone says, tmux. But specifically if you’re using the Java Minecraft server look over at the MC wiki because there are better options for managing it so it starts at boot as a daemon, but still be able to send commands. They’re a better long term solution.