#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
"""Utilities related to user input."""
import logging
try:
while True:
response = readchar.readchar()
- logger.debug(f'Keystroke: {ord(response)}')
+ logger.debug('Keystroke: 0x%x', ord(response))
if response in valid_responses:
break
if ord(response) in os_special_keystrokes: