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
Compare Revisions
2931bdc456076e931ca05fc8e3c2c3be06df8295...52f8629724e0d521c07049405b5b4a246ad79b79
Commits (2)
Only add accessible programs to the xtrn list
· de35bc2c
Deucе
authored
May 26, 2021
de35bc2c
Add CIOLIB_MODE_CURSES_ASCII to output_map
· 52f86297
Deucе
authored
Jun 01, 2021
Fixes sourceforce issue number 60. Reported by WitNik (Thanks!)
52f86297
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
exec/lbshell.js
exec/lbshell.js
+4
-2
src/syncterm/syncterm.c
src/syncterm/syncterm.c
+1
-0
No files found.
exec/lbshell.js
View file @
52f86297
...
...
@@ -535,8 +535,10 @@ function Xtrnsec(sec)
this
.
ypos
=
console
.
screen_rows
-
j
-
1
;
this
.
xpos
=
40
-
xtrnsecprogwidth
-
2
;
this
.
add
(
"
\
xda
"
+
bars80
.
substr
(
0
,
xtrnsecprogwidth
)
+
"
\
xbf
"
,
undefined
,
undefined
,
""
,
""
);
for
(
j
=
0
;
j
<
xtrn_area
.
sec_list
[
sec
].
prog_list
.
length
&&
j
<
console
.
screen_rows
-
3
;
j
++
)
for
(
j
=
0
;
j
<
xtrn_area
.
sec_list
[
sec
].
prog_list
.
length
&&
j
<
console
.
screen_rows
-
3
;
j
++
)
{
if
(
xtrn_area
.
sec_list
[
sec
].
prog_list
[
j
].
can_access
)
this
.
add
(
"
|
"
+
hotkeys
.
substr
(
j
,
1
)
+
"
"
+
xtrn_area
.
sec_list
[
sec
].
prog_list
[
j
].
name
,
j
.
toString
(),
xtrnsecprogwidth
);
}
this
.
add
(
"
\
xc0
"
+
bars80
.
substr
(
0
,
xtrnsecprogwidth
)
+
"
\
xd9
"
,
undefined
,
undefined
,
""
,
""
);
}
Xtrnsec
.
prototype
=
ShellLB
.
prototype
;
...
...
src/syncterm/syncterm.c
View file @
52f86297
...
...
@@ -744,6 +744,7 @@ int output_map[]={
#ifdef __unix__
,
CIOLIB_MODE_CURSES
,
CIOLIB_MODE_CURSES_IBM
,
CIOLIB_MODE_CURSES_ASCII
#endif
,
CIOLIB_MODE_ANSI
#if defined(__unix__) && !defined(NO_X)
...
...