aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-06-01 13:52:33 +0100
committerRon Yorston <rmy@pobox.com>2023-06-01 14:03:51 +0100
commita1ccb78df0a218d8fa760015f82bca6b7939b95b (patch)
tree2ab8ed04eadafc0ea6f709f2bf3fa5f267135491 /include
parent82accfc19fcbda7cd2245a727ca493b582fb0994 (diff)
downloadbusybox-w32-a1ccb78df0a218d8fa760015f82bca6b7939b95b.tar.gz
busybox-w32-a1ccb78df0a218d8fa760015f82bca6b7939b95b.tar.bz2
busybox-w32-a1ccb78df0a218d8fa760015f82bca6b7939b95b.zip
ash: enable 'set -/+o noconsole'
Previously the 'noconsole' shell option could only be set as a shell command line option. Allow it to be changed from within the shell by 'set -o noconsole' or 'set +o noconsole'. The console window is now minimised rather than hidden. This makes it easier for the user to access the console when 'noconsole' is in effect. Adds 8-32 bytes. (GitHub issue #325)
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 13adf9017..e937a9e3c 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -577,7 +577,7 @@ ULONGLONG CompatGetTickCount64(void);
577 577
578ssize_t get_random_bytes(void *buf, ssize_t count); 578ssize_t get_random_bytes(void *buf, ssize_t count);
579int enumerate_links(const char *file, char *name); 579int enumerate_links(const char *file, char *name);
580void hide_console(void); 580void hide_console(int);
581 581
582int unc_root_len(const char *dir); 582int unc_root_len(const char *dir);
583int root_len(const char *path); 583int root_len(const char *path);