aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-04-09 08:58:58 +0100
committerRon Yorston <rmy@pobox.com>2024-04-09 08:58:58 +0100
commitfcf3ec2877f042c6957d808e562807089e23ebe6 (patch)
tree02fc4bf8d6fd8284564d3cf27cbd17482b8f5744 /include
parent55ecf3a746db5131ca078875168a59feab8b26f1 (diff)
downloadbusybox-w32-fcf3ec2877f042c6957d808e562807089e23ebe6.tar.gz
busybox-w32-fcf3ec2877f042c6957d808e562807089e23ebe6.tar.bz2
busybox-w32-fcf3ec2877f042c6957d808e562807089e23ebe6.zip
ash: add title built-in
Implement a 'title' built-in for ash. It's very simple-minded, performs almost no error checking and is completely non-portable. - With no arguments it prints the current console title. - If arguments are provided the *first only* is set as the console title. Costs 88-116 bytes. (GitHub issue #401)
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 4abdcf459..41d4cd940 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -158,6 +158,7 @@ BOOL conToCharA(LPSTR d);
158BOOL readConsoleInput_utf8(HANDLE h, INPUT_RECORD *r, DWORD len, DWORD *got); 158BOOL readConsoleInput_utf8(HANDLE h, INPUT_RECORD *r, DWORD len, DWORD *got);
159 159
160void set_title(const char *str); 160void set_title(const char *str);
161int get_title(char *buf, int len);
161void move_cursor_row(int n); 162void move_cursor_row(int n);
162void reset_screen(void); 163void reset_screen(void);
163int winansi_putchar(int c); 164int winansi_putchar(int c);