diff options
Diffstat (limited to 'Source/Applications/PaperWork/PaperWork.cpp')
-rw-r--r-- | Source/Applications/PaperWork/PaperWork.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Applications/PaperWork/PaperWork.cpp b/Source/Applications/PaperWork/PaperWork.cpp index ac6f26d..15497e4 100644 --- a/Source/Applications/PaperWork/PaperWork.cpp +++ b/Source/Applications/PaperWork/PaperWork.cpp @@ -37,7 +37,7 @@ int PaperWork::run() { String user, pw; while (1) { outvt << "Username: " << FLUSH; - user = invt.readLine(); + user = invt.get(); outvt << "Password: " << FLUSH; pw = invt.readLine(false); if (!Process::get().authenticatePW(user, pw)) { @@ -45,7 +45,7 @@ int PaperWork::run() { continue; } outvt << "What shell to run [" << sFlag("shell") << "]? "<< FLUSH; - String sh = invt.readLine(); + String sh = invt.get(); if (sh == "") sh = sFlag("shell"); Process p = Process::run(sh); if (p.valid()) { |