Fix accessible output window, revert Tab/Ctrl+Space, sync readme keys

- output_functions.xml: merge NotepadSmartScroll's Win32/Alien-based
  smart-scroll logic in directly (was a separate plugin). Fixed the
  caret-restore bug: gating the restore on scroll position was wrong
  since the notepad tracks near the bottom during normal reading; now
  gated on whether the caret was literally at the end of the old text.
  Added a jump-to-end-on-focus toggle (Ctrl+Alt+J) with a 0.2s polling
  timer to catch focus landing on the output notepad by any means.
- Reverted the Tab/Ctrl+Space rebinding - removed switch_to_output and
  trigger_word_completion along with their accelerators.
- cosmic rage.MCL: dropped the dangling NotepadSmartScroll.xml include
  (file no longer exists, was reintroduced by an auto-save).
- readme.md: documented the actual current CosmicRage.xml keys (several
  had drifted out of sync - Alt+F12 is now stop-sounds not restart,
  Alt+Delete/Ctrl+S/Ctrl+F1-3/Alt+F3/Alt+Shift+H/F11 were undocumented)
  and added the output_functions.xml accessible-output keybindings,
  which weren't documented at all before.
This commit is contained in:
OlegTheSnowman
2026-07-11 00:02:28 +03:00
parent 21fa3e0d57
commit 09785a9080
8 changed files with 719 additions and 155 deletions

View File

@@ -40,7 +40,8 @@ MushClient is a portable client designed specifically for Cosmic Rage. The game
- **Alt + PageUp**: Scroll buffer up
- **Alt + End**: Jump to bottom of buffer
- **Alt + Home**: Jump to top of buffer
- **Alt + Shift + Delete**: Clear buffer
- **Alt + Delete**: Clear current buffer
- **Alt + Shift + Delete**: Clear all buffers
- **Alt + Shift + Right**: Add buffer
- **Alt + Shift + Left**: Delete buffer
@@ -71,13 +72,39 @@ MushClient is a portable client designed specifically for Cosmic Rage. The game
- **Ctrl + F9**: Toggle planetary music
- **Ctrl + F10**: Toggle space combat music
- **Ctrl + F11**: Toggle weather sounds
- **Alt + F12**: Restart
- **Shift + Alt + F9**: Interrupt OOC social sounds on next play
- **Ctrl + F1**: Mute/unmute master sound
- **Ctrl + F2**: Master volume down
- **Ctrl + F3**: Master volume up
- **Alt + F3**: Toggle intro music
- **F11**: Stop all currently playing sounds and restart the soundpack
- **Alt + F12**: Stop all currently playing sounds
### Other Functions
- **Shift + F1**: Toggle SP on/off
- **Ctrl + Shift + Enter**: Toggle buffer sounds
- **Ctrl + Shift + V**: Show version
- **Ctrl + S**: Save client-side soundpack settings
- **Alt + Shift + H**: Show local help
### Accessible Output Window
The soundpack mirrors game text into a separate notepad-style window titled "output", useful for reviewing text with a screen reader without losing your place when new lines arrive.
- **Ctrl + Alt + O**: Toggle whether output is mirrored to the output window
- **Ctrl + Alt + J**: Toggle whether switching to the output window jumps you to the newest line
- **Ctrl + Shift + C**: Clear the output buffer
- **Ctrl + Alt + Shift + C**: Clear the output window
- **Ctrl + Shift + I**: Speak the current line
- **Ctrl + Shift + U**: Speak the previous line
- **Ctrl + Shift + O**: Speak the next line
- **Ctrl + Shift + Y**: Jump to and speak the top line
- **Ctrl + Shift + N**: Jump to and speak the bottom line
- **Ctrl + Shift + H**: Announce current line number and total line count
- **Ctrl + Shift + Space**: Start/stop selecting lines (copies with line breaks)
- **Ctrl + Shift + Alt + Space**: Start/stop selecting lines (copies joined by spaces, no line breaks)
- **Ctrl + Shift + Alt + S**: Take a snapshot of the whole buffer into a "snapshot" notepad
- **Ctrl + Alt + Enter**: Toggle stopping speech whenever you press Enter
- **Ctrl + 1** to **Ctrl + 0**: Recall a recent output line by position from the end (tap once to speak it, twice to copy it, three times to paste it into the command line)
## FAQ