Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a6d743e

Browse files
committed
Minor console output fix (redundant newline has been displayed in case of rawInput)
1 parent d7cf0de commit a6d743e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ def readInput(message, default=None, checkBatch=True):
794794
else:
795795
logging._acquireLock()
796796
dataToStdout("\r%s" % message, forceOutput=True, bold=True)
797+
kb.prependFlag = False
797798
data = raw_input() or default
798799
#data = raw_input(message.encode(sys.stdout.encoding or UNICODE_ENCODING))
799800
logging._releaseLock()

0 commit comments

Comments
 (0)