termux / termux/termux-api

termux-clipboard-set timeouts before receiving any STDIN input

Open
#712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Problem description

As a slow writer, I like to type my text very slowly using Ctrl+Q widget. So i call termux-clipboard-set and then start typing in a widget. And while I type, program suddenly returns and if I press Enter, all of my text goes straight to terminal, instead of STDIN.

Steps to reproduce

Expected behavior

Additional information

  • termux-api application version:
  • termux-api package version (installed through apt):
  • Android OS version:
  • Device model:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the timeout with termux-clipboard-set while supplying deliberately slow STDIN input. Trace the command's stdin handling and timeout behavior, then verify that input remains attached to STDIN until the intended completion condition; the issue does not provide implementation files, tests, or environment versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.