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
5be96628
Commit
5be96628
authored
Jul 25, 2003
by
rswindell
Browse files
Returned the old (v3.10L) method of handling up arrow (fix for internal line
editor).
parent
38724d1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/sbbs3/getstr.cpp
src/sbbs3/getstr.cpp
+4
-2
No files found.
src/sbbs3/getstr.cpp
View file @
5be96628
...
...
@@ -120,7 +120,9 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode)
while
(
!
(
sys_status
&
SS_ABORT
)
&&
online
&&
input_thread_running
)
{
if
(
mode
&
K_LEFTEXIT
&&
console
&
(
CON_UPARROW
|
CON_LEFTARROW
|
CON_BACKSPACE
|
CON_DELETELINE
))
&&
console
&
(
CON_LEFTARROW
|
CON_BACKSPACE
|
CON_DELETELINE
))
break
;
if
(
console
&
CON_UPARROW
)
break
;
if
((
ch
=
getkey
(
mode
|
K_GETSTR
))
==
CR
)
break
;
...
...
@@ -445,7 +447,7 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode)
case
30
:
/* Ctrl-^/Up Arrow */
if
(
!
(
mode
&
K_EDIT
))
break
;
#if
0
#if
1
if
(
i
>
l
)
l
=
i
;
str1
[
l
]
=
0
;
...
...
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