All Questions
264
questions
-2
votes
0
answers
42
views
Why is input.value.trim() not returning anything in console? [closed]
So I've been trying to learn js after html and css (beginner). I have a program that I want to update a according to a user input after a button click. I've defined input, button and list variables ...
0
votes
0
answers
31
views
Sharprompt: Input data with a regular expression and a selection list
I decided to use the Sharprompt library to enter data in the console application. The Prompt class contains the Input method where I can customize my template, and the Select method for selecting ...
0
votes
0
answers
11
views
Why can't JUnit accept Console input from the user?
I understand that JUnit itself is all about unit testing, so it's designed to not accept input from the user.
I'd like to see the code that is structured to prevent me from getting console input, but ...
-3
votes
1
answer
52
views
C#: creating an array and appending console input to each value
I'm seeking a solution for the inline commented out steps... I am able to run this, enter text in console and see it append to the 0 index value but the console input is not then also following the ...
-1
votes
1
answer
96
views
How can I detect if a nondirectional key has been pressed in a console application using an optional parameter in a method?
I have been tasked with adding an optional parameter to a method in a console app I am developing that can detect if any other key, other than the arrow keys on my pc number pad, has been pressed ...
0
votes
0
answers
51
views
Typed text is not displaying in console while using conio.h
I am using conio.h in my project to display the game board. I need to read input from a user. In generally works, but it behaves like linux passwords (input is passed to a variable but not displayed ...
1
vote
0
answers
55
views
How to enter values in brackets and numbers with a degree in C console
I have an array of unsigned long long int type, the values are entered in one line through the console, among the numbers there are (2^32-1)^2-1 and (2^32-1)^2+1.
How can I convert this to a natural ...
-1
votes
1
answer
117
views
how to pick new line as an input with cin in c++ visual studio 2022
when I use " cin >> string " if I input one or several new lines without putting any characters the program doesn't finish the cin command until I input a character or a string
...
0
votes
1
answer
150
views
Values entered into input using google chrome console not registering unless I manually click the input and add and remove characters
I am trying to streamline downloading content from Youtube so I can listen to podcasts while not around internet. Here is what I have come up with so far.
// I'd run this first to get to the page
this....
1
vote
0
answers
67
views
How can I input in console without changing what's already shown? [C++]
I want to input something ([PLAYER NAME]) in console:
|=========[ Player Creation ]=========|
|Player name: [PLAYER NAME] |
|=====================================|
But as you might know, ...
0
votes
0
answers
53
views
Tmux + python input() -- control characters taken literally
I'm trying to get a simple console input in Python (query = input('>>> ')). However, when I run this code inside Tmux, any control characters are taken literally, so I can't hit Enter to ...
0
votes
2
answers
289
views
Adding console input to ArrayList in Java
I'm trying to add items from the console input and scanner input to arraylists in java.
(To run the program user types Program ID)
The problem is that each time I run the program the contents of the ...
0
votes
1
answer
229
views
Is there a MicroPython console equivalent to any()?
Is there any way to look for console input under MicroPython without pausing the program?
Within a program, I can use, for example, uart1.any() to see if there is anything in the input buffer. If not,...
0
votes
2
answers
98
views
How to pull console input with non-empty stack in REXX?
I want to ask for console input without disturbing the contents of the stack. However, the PULL function will always pull from the stack first if it is not empty. How can I do this?
1
vote
2
answers
422
views
Input at bottom row at python
how to make an input appear at the bottom of the terminal/console?
with
import Console
a = Console.getconsole()
a.text(0,-1,'YOU CAN PRINT TEXT IN THE BOTTOM ROW OF CONSOLE')
you can print text in ...