From 57fa261f906588b44051eb9226d6fd0d0ab260b1 Mon Sep 17 00:00:00 2001 From: yrriban Date: Mon, 1 Dec 2025 02:35:49 -0500 Subject: [PATCH] Use input builtin to ask for the map name. --- dcc/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcc/text.py b/dcc/text.py index 3e36310..3a816f7 100644 --- a/dcc/text.py +++ b/dcc/text.py @@ -71,7 +71,7 @@ class Text(dcc.doom_base.WadMap): if map_names is not None: text = map_names.get(f"map{parsed_args.map}") if text is None: - text = sys.stdin.read().rstrip() + text = input("Map Name? ") if not parsed_args.nomap: text = "MAP{}: {}".format(parsed_args.map, text) text = "{}\n{}".format(text, parsed_args.demotype)