git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SpiderScript - Bugfixes and speed improvements
[tpg/acess2.git]
/
Usermode
/
Applications
/
CLIShell_src
/
main.c
diff --git
a/Usermode/Applications/CLIShell_src/main.c
b/Usermode/Applications/CLIShell_src/main.c
index
50c9589
..
33907ee
100644
(file)
--- a/
Usermode/Applications/CLIShell_src/main.c
+++ b/
Usermode/Applications/CLIShell_src/main.c
@@
-59,11
+59,7
@@
int main(int argc, char *argv[], char *envp[])
#if !USE_READLINE
\r
int bCached = 1;
\r
#else
\r
#if !USE_READLINE
\r
int bCached = 1;
\r
#else
\r
- tReadline readline_state = {0};
\r
- #endif
\r
-
\r
- #if USE_READLINE
\r
- readline_state.UseHistory = 1;
\r
+ tReadline *readline_state = Readline_Init(1);
\r
#endif
\r
\r
gasEnvironment = envp;
\r
#endif
\r
\r
gasEnvironment = envp;
\r
@@
-97,7
+93,7
@@
int main(int argc, char *argv[], char *envp[])
\r
// Read Command line
\r
#if USE_READLINE
\r
\r
// Read Command line
\r
#if USE_READLINE
\r
- sCommandStr = Readline(
&
readline_state );
\r
+ sCommandStr = Readline( readline_state );
\r
length = strlen(sCommandStr);
\r
#else
\r
sCommandStr = ReadCommandLine( &length );
\r
length = strlen(sCommandStr);
\r
#else
\r
sCommandStr = ReadCommandLine( &length );
\r
UCC
git Repository :: git.ucc.asn.au