Skip to content

Commit

Permalink
Add "title" configuration to w64devkit.ini
Browse files Browse the repository at this point in the history
While already possible using an ANSI escape sequence, the INI option
affords additional flexibility. It also supports wide titles, which
cannot be done with the busybox-w32 included in w64devkit. See #115.

To support this, I broke up homeconfig() into several functions to be
re-used and composed when handling the new option, such as expanding
environment variables. While doing so, I took the opportunity to remove
several maximum length limitations, like MAX_PATH, and so long paths are
now supported, at least as far as the launcher. I also simplified the
arena to a pair of pointers.

The program now sets $W64DEVKIT before loading the INI so that it is
available during variable expansion of titles.
  • Loading branch information
skeeto committed Mar 2, 2024
1 parent 019fe56 commit 3f07a0c
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 139 deletions.
Loading

0 comments on commit 3f07a0c

Please sign in to comment.