Update help command to include keyboard shortcuts
This commit is contained in:
@@ -967,7 +967,21 @@ class RoomWidget(QWidget):
|
||||
return
|
||||
elif cmd == "/help":
|
||||
self.chat_input.setText("")
|
||||
self.add_system_message("Available commands:<br><b>/play</b> - Resume playback<br><b>/pause</b> - Pause playback<br><b>/seek [time]</b> - Seek to specific time<br><b>/tag [now|time] [name]</b> - Tag a timestamp<br><b>/time</b> - Show current time<br><b>/help</b> - Show this message")
|
||||
help_text = """
|
||||
<b>Available Commands:</b><br>
|
||||
• <b>/play</b>, <b>/pause</b> - Control playback<br>
|
||||
• <b>/seek [time]</b> - Seek (e.g., 1:23, +30s, -1m)<br>
|
||||
• <b>/tag [now|time] [name]</b> - Create a highlight<br>
|
||||
• <b>/time</b> - Show current timestamp<br>
|
||||
• <b>/help</b> - Show this message<br><br>
|
||||
<b>Keyboard Shortcuts:</b><br>
|
||||
• <b>Space</b>: Play/Pause<br>
|
||||
• <b>F</b>: Fullscreen | <b>M</b>: Mute<br>
|
||||
• <b>Left/Right</b>: Seek ±5s<br>
|
||||
• <b>Up/Down</b>: Volume ±5%<br>
|
||||
• <b>Enter</b>: Focus chat | <b>Esc</b>: Clear focus
|
||||
"""
|
||||
self.add_system_message(help_text)
|
||||
return
|
||||
|
||||
self.chat_message_ready.emit(text)
|
||||
|
||||
Reference in New Issue
Block a user