File 2632-Uniform-spelling-and-casing-of-key-shortcuts.patch of Package erlang

From 2ccb47453301a025a76dba0933869232dd4006c5 Mon Sep 17 00:00:00 2001
From: Richard Carlsson <carlsson.richard@gmail.com>
Date: Thu, 13 Jun 2024 14:27:19 +0200
Subject: [PATCH 1/2] Uniform spelling and casing of key shortcuts

Control always written as Ctrl. Letter keys always uppercase.
Modifiers (Shift, Alt, Ctrl) always titlecase.
---
 HOWTO/INSTALL-RASPBERRYPI3.md                 |  2 +-
 erts/emulator/nifs/common/prim_tty_nif.c      | 10 +++++-----
 erts/emulator/sys/unix/sys.c                  |  6 +++---
 erts/emulator/sys/win32/sys_interrupt.c       |  2 +-
 lib/debugger/test/dbg_ui_SUITE.erl            |  8 ++++----
 lib/reltool/test/reltool_manual_gui_SUITE.erl |  2 +-
 lib/ssh/src/ssh_connect.hrl                   |  4 ++--
 lib/stdlib/doc/stdlib_app.md                  |  2 +-
 lib/stdlib/src/edlin_key.erl                  |  2 +-
 lib/stdlib/src/erl_scan.erl                   |  2 +-
 lib/stdlib/src/shell.erl                      |  2 +-
 11 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/lib/stdlib/doc/src/shell.xml b/lib/stdlib/doc/src/shell.xml
index 45d04eddc5..da605d522c 100644
--- a/lib/stdlib/doc/src/shell.xml
+++ b/lib/stdlib/doc/src/shell.xml
@@ -1074,7 +1074,7 @@ multiline_prompt_func(PromptFunc) ->
       <desc>
         <p>Can be used to set the formatting of the Erlang shell output. This has an effect
         on commands that have been submitted, and how it is saved in history. Or if the
-        formatting hotkey is pressed while editing an expression (Alt-r by default). You
+        formatting hotkey is pressed while editing an expression (Alt-R by default). You
         can specify a <c>Mod:Func/1</c> that expects the whole expression as a string and
         returns a formatted expressions as a string.
         See <seeapp marker="STDLIB_app#format_shell_func"><c>stdlib app config</c></seeapp>
-- 
2.43.0

openSUSE Build Service is sponsored by