The backspace key on the keyboard (deletes the previous character)
Questions tagged [backspace]
354 questions
2
votes
1 answer
How can i use printf("\b") to make my console output look like typewriter?
I am using a loop to delete characters from a string using printf(\b) 1 by 1 and sleep 0.1 seconds in between. But when I run the code it happens simultaneously.
I literally tried typing each printf because I thought the loop might be the cause but…

Mustafa Çığ Gökpınar
- 121
- 1
- 10
2
votes
2 answers
Reading and printing one char at a time - getche() and backspace in Python
I want to create typing training program. I need a function which immediately both reads and prints each character user hits - something like getche()
I have tried using getche from this module but it doesn't deal well with backspaces. When I hit…

user3565923
- 153
- 2
- 12
2
votes
1 answer
Backspace Button In JavaFX
I am making a calculator project using JavaFX. In my calculator, I had a backspace button. I tried the old way, something like this:
strBuild.deleteCharAt(display.getText().length()-1);
But that didn't work, possibly and probably because of the…

flyingostrich
- 67
- 11
2
votes
0 answers
Ignoring arrow keys when using the select menu with readline
I have written a bash script that looks like this which basically handles user operation based on selection.
PS3='Please enter current status of the completion: '
boolean_status=("completed" "not-yet")
select opt in "${boolean_status[@]}"
…

KNDheeraj
- 834
- 8
- 23
2
votes
1 answer
How to handle backspace with libphonenumber AsYouTypeFormatter
I'm trying to use google-libphonenumber's AsYouTypeFormatter with a simple input element on a web form. I pass each key typed by the user to the inputDigit method. The problem I'm running into is that when the user hits backspace,…

snowfrogdev
- 5,963
- 3
- 31
- 58
2
votes
1 answer
Firefox switching tab on backspace
As Firefox users will know, when pressing the backspace button without selecting an input field will make you return to the previous tab.
Problem is, I have made an input field based on document.onkeydown(data){k=(data.key)} data. Users do not have…

JScoder
- 25
- 5
2
votes
1 answer
backspace behaviour changed to ^H in bash shell after sometime
My backspace is deleting letter backward as expected in my bash shell after logon. But for unknown reason, occasionally, after a while of use, it instead outputs ^H. This is annoying. I have to log off/on again to correct its behaviour.
Do you know…

Sheen
- 3,333
- 5
- 26
- 46
2
votes
3 answers
AngularJS way to disable a key
In my AngularJs project I want to disable the backspace key for all views. Here is an easy jQuery solution. Is there any solution for this written in AngularJs?
$(document).on("keydown", function (e) {
if (e.which === 8 &&…

Leandro Roura Sixto
- 672
- 7
- 21
2
votes
4 answers
Outlook add in , text box , delete\backspace not working
I developed an outlook add in (custom task pane), with web browser in the user control.
All the things working well beside the backspace or the delete button when I am writing something in text box in the web browser, I can't use those keys, am I…

Tom
- 63
- 1
- 7
2
votes
3 answers
javascript substring like backspace
HI in the code down below i have a html setup with buttons for a password input form:
Log in form