From ab9d16e81402079c1f11aa40d905123f1ab2233c Mon Sep 17 00:00:00 2001 From: Damien Wang Date: Fri, 14 Aug 2020 17:02:38 +0800 Subject: [PATCH] Fix backspace echoing bug #139 --- Firmware/messages_v3.s | 2 +- Firmware/messages_v4.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/messages_v3.s b/Firmware/messages_v3.s index 7ef865ea..956ae26c 100644 --- a/Firmware/messages_v3.s +++ b/Firmware/messages_v3.s @@ -1076,7 +1076,7 @@ _MSG_CURSOR_RIGHT_str: .section .text.MSG_DESTRUCTIVE_BACKSPACE, code .global _MSG_DESTRUCTIVE_BACKSPACE_str _MSG_DESTRUCTIVE_BACKSPACE_str: - .pasciz <8>, " ", <8> + .pasciz "\x08 \x08" ; MSG_FINISH_SETUP_PROMPT .section .text.MSG_FINISH_SETUP_PROMPT, code diff --git a/Firmware/messages_v4.s b/Firmware/messages_v4.s index f2d1e0ab..28e88a71 100644 --- a/Firmware/messages_v4.s +++ b/Firmware/messages_v4.s @@ -1154,7 +1154,7 @@ _MSG_CURSOR_RIGHT_str: .section .text.MSG_DESTRUCTIVE_BACKSPACE, code .global _MSG_DESTRUCTIVE_BACKSPACE_str _MSG_DESTRUCTIVE_BACKSPACE_str: - .pasciz <8>, " ", <8> + .pasciz "\x08 \x08" ; MSG_FINISH_SETUP_PROMPT .section .text.MSG_FINISH_SETUP_PROMPT, code