Skip to content

Commit

Permalink
Fix the backspace echoing bug at _MSG_DESTRUCTIVE_BACKSPACE_str
Browse files Browse the repository at this point in the history
Based on the original work of @wmpluto at
BusPirate#149
- I have reviewed this commit and believe it is OK.

Co-authored-by: Pluto <[email protected]>
Signed-off-by: Mike Banon <[email protected]>
  • Loading branch information
mikebdp2 and wmpluto committed Feb 11, 2024
1 parent 9a81c15 commit f4ee957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Firmware/messages_v3.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Firmware/messages_v4.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4ee957

Please sign in to comment.