Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f06cb3e6
Commit
f06cb3e6
authored
Dec 30, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Set the PROMPT environment variable on startup.
parent
0d61dd8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wcmdmain.c
programs/cmd/wcmdmain.c
+3
-0
No files found.
programs/cmd/wcmdmain.c
View file @
f06cb3e6
...
...
@@ -2189,6 +2189,8 @@ int wmain (int argc, WCHAR *argvW[])
int
opt_t
=
0
;
static
const
WCHAR
autoexec
[]
=
{
'\\'
,
'a'
,
'u'
,
't'
,
'o'
,
'e'
,
'x'
,
'e'
,
'c'
,
'.'
,
'b'
,
'a'
,
't'
,
'\0'
};
static
const
WCHAR
promptW
[]
=
{
'P'
,
'R'
,
'O'
,
'M'
,
'P'
,
'T'
,
'\0'
};
static
const
WCHAR
defaultpromptW
[]
=
{
'$'
,
'P'
,
'$'
,
'G'
,
'\0'
};
char
ansiVersion
[
100
];
CMD_LIST
*
toExecute
=
NULL
;
/* Commands left to be executed */
...
...
@@ -2521,6 +2523,7 @@ int wmain (int argc, WCHAR *argvW[])
* Loop forever getting commands and executing them.
*/
SetEnvironmentVariableW
(
promptW
,
defaultpromptW
);
WCMD_version
();
while
(
TRUE
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment