From 0239a9886e7b13ae6b00a69fc6ee53c587f28235 Mon Sep 17 00:00:00 2001 From: Silas Kraume Date: Tue, 20 Feb 2024 19:05:21 +0100 Subject: [PATCH] added comment --- cat_win/cat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cat_win/cat.py b/cat_win/cat.py index 1853ee47..6f904f9f 100644 --- a/cat_win/cat.py +++ b/cat_win/cat.py @@ -1147,7 +1147,7 @@ def main(): conin_handle = ctypes.windll.kernel32.CreateFileW( "CONIN$", 0x80000000, 3, None, 3, 0, None ) # os.dup2 does not work on pyinstaller - ctypes.windll.kernel32.SetStdHandle(-10, conin_handle) + ctypes.windll.kernel32.SetStdHandle(-10, conin_handle) # -10 = stdin for file in known_files: Editor.open(file, holder.get_file_display_name(file), arg_parser.file_encoding, stdinhelper.write_file, on_windows_os, holder.args_id[ARGS_PLAIN_ONLY])