Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
138
Issues
138
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Compare Revisions
c60d4d836b28988ed02a23a71266cd5daad3bc56...58bf7fb4c3f7ebe688d44dd2cfc35da0577e5266
Source
58bf7fb4c3f7ebe688d44dd2cfc35da0577e5266
Select Git revision
...
Target
c60d4d836b28988ed02a23a71266cd5daad3bc56
Select Git revision
Compare
Commits (4)
Define 3RDP_ROOT by default, when not already defined
· 65a69879
Rob Swindell
authored
Jan 10, 2021
Needed for CIOLIB builds.
65a69879
Fix Borland C++ build error.
· aa8c0b95
Rob Swindell
authored
Jan 10, 2021
aa8c0b95
Fix Borland C++ build error (doesn't have stdbool.h)
· 1c17d086
Rob Swindell
authored
Jan 10, 2021
1c17d086
Merge branch 'master' of gitlab.synchro.net:main/sbbs
· 58bf7fb4
Rob Swindell
authored
Jan 10, 2021
58bf7fb4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
src/build/Common.bmake
src/build/Common.bmake
+4
-0
src/conio/ansi_cio.c
src/conio/ansi_cio.c
+1
-1
src/conio/ciolib.c
src/conio/ciolib.c
+1
-2
No files found.
src/build/Common.bmake
View file @
58bf7fb4
...
...
@@ -92,6 +92,10 @@
QUIET = @
!endif
!ifndef 3RDP_ROOT
3RDP_ROOT = $(SRC_ROOT)/../3rdp
!endif
# OS-specific
DIRSEP = \ # This comment is necessary
EXEFILE = .exe
...
...
src/conio/ansi_cio.c
View file @
58bf7fb4
...
...
@@ -940,11 +940,11 @@ int ansi_writestr_cb(const unsigned char *str, size_t len)
int
ansi_initio_cb
(
void
)
{
#ifdef _WIN32
DWORD
conmode
=
0
;
if
(
isatty
(
fileno
(
stdin
)))
{
if
(
!
SetConsoleMode
(
GetStdHandle
(
STD_INPUT_HANDLE
),
ENABLE_VIRTUAL_TERMINAL_INPUT
))
return
(
0
);
DWORD
conmode
=
0
;
GetConsoleMode
(
GetStdHandle
(
STD_OUTPUT_HANDLE
),
&
conmode
);
if
(
!
SetConsoleMode
(
GetStdHandle
(
STD_OUTPUT_HANDLE
),
conmode
|
ENABLE_VIRTUAL_TERMINAL_PROCESSING
))
return
(
0
);
...
...
src/conio/ciolib.c
View file @
58bf7fb4
...
...
@@ -39,7 +39,6 @@
#include <stdarg.h>
#include <stdlib.h>
/* alloca */
#include <stdio.h>
#include <stdbool.h>
#if defined(_WIN32)
#include <malloc.h>
/* alloca() on Win32 */
#endif
...
...
@@ -1677,7 +1676,7 @@ CIOLIBEXPORT struct ciolib_screen * CIOLIBCALL ciolib_savescreen(void)
}
if
(
vmode
!=
-
1
)
{
ret
->
pixels
=
ciolib_getpixels
(
0
,
0
,
vparams
[
vmode
].
charwidth
*
vparams
[
vmode
].
cols
-
1
,
vparams
[
vmode
].
charheight
*
vparams
[
vmode
].
rows
-
1
,
true
);
ret
->
pixels
=
ciolib_getpixels
(
0
,
0
,
vparams
[
vmode
].
charwidth
*
vparams
[
vmode
].
cols
-
1
,
vparams
[
vmode
].
charheight
*
vparams
[
vmode
].
rows
-
1
,
TRUE
);
}
ciolib_vmem_gettext
(
1
,
1
,
ret
->
text_info
.
screenwidth
,
ret
->
text_info
.
screenheight
,
ret
->
vmem
);
ret
->
fg_colour
=
ciolib_fg
;
...
...