Skip to content

Proposed fix to issue #74. Minor code cleanup.#80

Open
dpeschel wants to merge 2 commits intodeadpixi:masterfrom
dpeschel:pullreq_proposd_fix_74
Open

Proposed fix to issue #74. Minor code cleanup.#80
dpeschel wants to merge 2 commits intodeadpixi:masterfrom
dpeschel:pullreq_proposd_fix_74

Conversation

@dpeschel
Copy link

Proposed fix:

  1. When you have not typed the command character, and you type any unhandled special key, such as F20 or clear all tabs or help, mtm ignores it.

  2. When you have typed the command character, and you type any unhandled key (special or not), mtm cancels the command.

  3. Then the BAILOUT key becomes unnecessary because all unknown keys bail out. (So the code and the configuration files should not define it.) And the manual should say explicitly that all unknown keys bail out.

Cleanup:

Added blank lines, removed extra semicolons, changed comma operator to two separate statements.

Proposed fix:

1. When you have not typed the command character, and you type any
   unhandled special key, such as F20 or clear all tabs or help,
   mtm ignores it.

2. When you have typed the command character, and you type any
   unhandled key (special or not), mtm cancels the command.

3. Then the BAILOUT key becomes unnecessary because all unknown
   keys bail out. (So the code and the configuration files should not
   define it.) And the manual should say explicitly that all unknown
   keys bail out.

Cleanup:

Added blank lines, removed extra semicolons, changed comma operator
to two separate statements.
@dpeschel dpeschel marked this pull request as ready for review November 10, 2024 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant