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
c38a9758
Commit
c38a9758
authored
Jun 03, 2021
by
Deucе
👌🏾
Browse files
Remove debug output introduced in last commit
parent
4c89829e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/conio/x_events.c
src/conio/x_events.c
+4
-1
No files found.
src/conio/x_events.c
View file @
c38a9758
...
@@ -976,6 +976,9 @@ static int x11_event(XEvent *ev)
...
@@ -976,6 +976,9 @@ static int x11_event(XEvent *ev)
case
XLookupChars
:
case
XLookupChars
:
if
(
lus
==
XLookupChars
||
((
ev
->
xkey
.
state
&
(
Mod1Mask
|
ControlMask
))
==
0
))
{
if
(
lus
==
XLookupChars
||
((
ev
->
xkey
.
state
&
(
Mod1Mask
|
ControlMask
))
==
0
))
{
for
(
i
=
0
;
i
<
cnt
;
i
++
)
{
for
(
i
=
0
;
i
<
cnt
;
i
++
)
{
if
(
wbuf
[
i
]
<
127
)
ch
=
wbuf
[
i
];
else
ch
=
cpchar_from_unicode_cpoint
(
getcodepage
(),
wbuf
[
i
],
0
);
ch
=
cpchar_from_unicode_cpoint
(
getcodepage
(),
wbuf
[
i
],
0
);
if
(
ch
)
{
if
(
ch
)
{
write
(
key_pipe
[
1
],
&
ch
,
1
);
write
(
key_pipe
[
1
],
&
ch
,
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