Skip to content

Commit

Permalink
Use <keycap> and <keycombo> DocBook tags (php#3904)
Browse files Browse the repository at this point in the history
Co-authored-by: Jim Winstead <[email protected]>
  • Loading branch information
Girgias and jimwins authored Oct 24, 2024
1 parent ea61eef commit eee245c
Show file tree
Hide file tree
Showing 6 changed files with 268 additions and 50 deletions.
11 changes: 10 additions & 1 deletion appendices/migration74/windows-support.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@
<sect2 xml:id="migration74.windows-support.other">
<title>CTRL handling</title>
<para>
CTRL+C and CTRL+BREAK on console can be caught by setting a handler function
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>C</keycap>
</keycombo>
and
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>BREAK</keycap>
</keycombo>
on console can be caught by setting a handler function
with <function>sapi_windows_set_ctrl_handler</function>.
</para>
<para>
Expand Down
14 changes: 12 additions & 2 deletions appendices/reserved.constants.core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,12 @@
</term>
<listitem>
<simpara>
A Windows <literal>CTRL+C</literal> event.
A Windows
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>C</keycap>
</keycombo>
event.
Available as of PHP 7.4.0 (Windows only).
</simpara>
</listitem>
Expand All @@ -730,7 +735,12 @@
</term>
<listitem>
<simpara>
A Windows <literal>CTRL+BREAK</literal> event.
A Windows
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>BREAK</keycap>
</keycombo>
event.
Available as of PHP 7.4.0 (Windows only).
</simpara>
</listitem>
Expand Down
Loading

0 comments on commit eee245c

Please sign in to comment.