Terminal title
This commit is contained in:
1
main.cpp
1
main.cpp
@@ -101,6 +101,7 @@ int main(int argc, char** argv) {
|
|||||||
bool done = false;
|
bool done = false;
|
||||||
std::string prompt;
|
std::string prompt;
|
||||||
while (!done) {
|
while (!done) {
|
||||||
|
std::cout << "\033]0;Spinny\007" << std::flush;
|
||||||
std::cout << "> ";
|
std::cout << "> ";
|
||||||
std::getline(std::cin, prompt);
|
std::getline(std::cin, prompt);
|
||||||
auto command = lexCommand(prompt);
|
auto command = lexCommand(prompt);
|
||||||
|
|||||||
Reference in New Issue
Block a user