Werk #16405: cmk-update-config: Don't Read Characters Pressed before Prompt Appears

Component Site management
Title cmk-update-config: Don't Read Characters Pressed before Prompt Appears
Date Feb 14, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p23 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

During cmk-update-config can prompt you with questions about how to continue the update. This is an example.

Exception while trying to load rulesets:

You can abort the update process (A) and try to fix the incompatibilities or try to continue the update (c).
Abort update? [A/c]

Previously, these prompts would read input, which was typed before the prompt was shown. Now, only the input is read after the prompt is shown.

To the list of all Werks