Skip to content

Commit

Permalink
send empty cmd via ae00 at bat file end
Browse files Browse the repository at this point in the history
This allows dosemu2 to update the window title at the right point.
  • Loading branch information
stsp committed Mar 14, 2024
1 parent 6ea8afc commit 44cded9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,11 @@ static void get_cmd_from_bat_file(void)
if (stack_level > 0)
stack_level--;
if (stack_level == 0 && bat_file_path[stack_level][0] == '\0')
{
stepping = 0;
/* send empty cmd to update window title of dosemu2 */
installable_command_check(cmd_line, "");
}
RoutineDone:
if (cmd_file != NULL)
fclose(cmd_file);
Expand Down

0 comments on commit 44cded9

Please sign in to comment.