From 5527e8e43337cc1beab2883ef39e3a9088510b9c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 8 May 2023 22:46:20 -0700 Subject: [PATCH] show a . prompt during multiline --- coder.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/coder.py b/coder.py index c8ff1801b..ad4e47da9 100755 --- a/coder.py +++ b/coder.py @@ -149,7 +149,10 @@ class Coder: while True: try: - line = input("> ") + if multiline_input: + line = input(". ") + else: + line = input("> ") except EOFError: return @@ -619,4 +622,4 @@ def main(): if __name__ == "__main__": status = main() - sys.exit(status) \ No newline at end of file + sys.exit(status)