Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
28753a60
Commit
28753a60
authored
Feb 27, 2010
by
rswindell
Browse files
Don't display ^A and ^B characters in help text buffers.
parent
305f12ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
src/uifc/uifcx.c
src/uifc/uifcx.c
+12
-2
No files found.
src/uifc/uifcx.c
View file @
28753a60
...
...
@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 200
5
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 20
1
0 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
...
...
@@ -375,6 +375,16 @@ void sethelp(int line, char* file)
helpfile
=
file
;
}
static
void
uputs
(
char
*
ptr
)
{
while
(
*
ptr
)
{
if
(
*
ptr
>
2
)
putchar
(
*
ptr
);
ptr
++
;
}
putchar
(
'\n'
);
}
/****************************************************************************/
/* Help function. */
/****************************************************************************/
...
...
@@ -429,7 +439,7 @@ void help()
else
strcpy
(
hbuf
,
api
->
helpbuf
);
puts
(
hbuf
);
u
puts
(
hbuf
);
if
(
strlen
(
hbuf
)
>
200
)
{
printf
(
"Hit enter"
);
getstr
(
str
,
sizeof
(
str
)
-
1
);
...
...
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