Support new status code 11.

This commit is contained in:
Solderpunk 2020-06-07 19:13:00 +02:00
parent 94cf54df18
commit b8fa8233bc
1 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import codecs
import collections import collections
import datetime import datetime
import fnmatch import fnmatch
import getpass
import glob import glob
import hashlib import hashlib
import io import io
@ -407,7 +408,10 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
# Inputs # Inputs
if status.startswith("1"): if status.startswith("1"):
print(meta) print(meta)
user_input = input("> ") if status == "11":
user_input = getpass.getpass("> ")
else:
user_input = input("> ")
self._go_to_gi(gi.query(user_input)) self._go_to_gi(gi.query(user_input))
return return
# Redirects # Redirects