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
014c6e89
Commit
014c6e89
authored
Feb 19, 2003
by
rswindell
Browse files
Treats backspace char (Ctrl-H) and delete (ASCII 127) equally.
parent
508f68f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/uifc/uifcx.c
src/uifc/uifcx.c
+1
-1
No files found.
src/uifc/uifcx.c
View file @
014c6e89
...
...
@@ -125,7 +125,7 @@ static int getstr(char* str, int maxlen)
#endif
if
(
ch
==
'\r'
||
ch
==
'\n'
)
/* enter */
break
;
if
(
ch
==
'\b'
)
{
/* backspace */
if
(
ch
==
'\b'
||
ch
==
DEL
)
{
/* backspace */
if
(
len
)
len
--
;
continue
;
}
...
...
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