When pasting from stdin, print a message immediately after EOF, so
that hitting Ctrl-D twice is prevented.
This commit is contained in:
parent
59aa7374ea
commit
4ed502bb97
@ -221,6 +221,7 @@ def compile_paste(filenames, langopt):
|
||||
lang = langopt or ''
|
||||
if not filenames:
|
||||
data = read_file(sys.stdin)
|
||||
print 'Pasting...'
|
||||
if not langopt:
|
||||
mime = get_mimetype(data, '') or ''
|
||||
fname = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user