5,636 questions
1 vote
1 answer
62 views
SSH-bound Go CLI Daemon – SSH Connects Successfully, but No Input Accepted
I'm building a custom CLI daemon in Go for Ubuntu. When I run the CLI locally (without SSH), everything works correctly — for example: admin@admin> whoami responds as expected. However, after ...
0 votes
1 answer
80 views
I'm trying to have the user's cursor in an input statement at a specific point (after the ": |") so it types at that point
Here is my code: print("Make a 20-digit code with numbers 0-9: |___|", end="\r", flush=True) addDigits = input("Make a 20-digit code with numbers 0-9: |") More ...
0 votes
2 answers
76 views
How to auto-adjust the width of an input field based on character length of the decimal displayed within?
I'm working on a very simple program that takes a user-specified number (can be an integer or a float of any length) and performs one specific multiplication operation on that number. The program then ...
0 votes
1 answer
48 views
Read user input in app generated by jpackage
I am using jpackage to convert a Java application into an executable .app file. When running on macOS, as shown below, the application cannot read user input. open -n /Applications/MyApp.app The ...
0 votes
1 answer
93 views
Deleting files based on input to avoid accessing parent folders
I am doing a REST API in Java (although this question may apply to other languages) where I create several local files and directories, and they can be deleted based on input. I manage my files in a ...
0 votes
3 answers
116 views
Is this way of getting a formated input from stdin better than default scanf?
#include <stdio.h> #include <stdlib.h> #define BUF_SIZE 1024 int main() { char *buf = (char*)malloc(BUF_SIZE*sizeof(char)); fgets(buf, BUF_SIZE, stdin); int a = 0; sscanf(buf, ...
2 votes
2 answers
68 views
How to be able to retry an input for a specific key in dictionary in Python without skipping it
I'm trying to make a script that will ask for 5 score input from the user. Each score corresponds to a specific dilution. The input are strings and only six "characters" are allowed to be ...
0 votes
0 answers
34 views
date input resets in Chrome while trying to type
I have a date field in an Angular project that looks like this: <input [disabled]="this.viewMode" type="date" name="txtDateReceived" class="form-control" [...
-1 votes
1 answer
86 views
Automatic insertion of a value in the program [closed]
I need to periodically record a value in the program using a dialog box. The program is written in Borland Delphi 7, Windows API. The recorded value is stored in RAM. I also have a Java program in ...
1 vote
0 answers
31 views
How can read all text before the cursor in custom keyboard?
I'm developing a custom iOS keyboard using SwiftUI. I want to access a large portion of text before the cursor. I'm currently using: textDocumentProxy.documentContextBeforeInput However, this only ...
0 votes
0 answers
36 views
Can input elements being positioned in Drupal 10 into a table
I have in Drupal 10 made a simple table that is being build with a PHP as part of a module. When I use a buildForm-function, I can not position the input fields. I want these to be as if they were ...
1 vote
1 answer
67 views
How to hold an input open for a specific length of time
A project I am working on needs to automatically accept an input after 5 seconds. the idea is that they have 5 seconds to enter as many particular characters as possible. I've found plenty of examples ...
2 votes
1 answer
55 views
I have input validation and now im trying to continue the code // Powershell
I am following a tutorial I found on youtube for a file integrity monitor. The code is messy but im trying to add my own twist and clean it up. I just added input validation and now the code won't run ...
0 votes
0 answers
98 views
Simulate mouse input on touchscreen without handicapping user input
I am currently developing a C# .NET console application on my computer which allows me to move a virtual joystick by moving my mouse to the joystick and pressing down(currently not implemented) and ...
0 votes
0 answers
29 views
Need difference of column filters based on slicer range selection by user
I have tables -> calender , bi_alloceffort_data & bi_alloceffort_data_main. I Have linked calendar date column to REVDATE column of bi_alloceffort_data & "PROJECTNO" of both the ...