termux / termux/termux-api

Feature request: Hide / Show Keyboard

Open
#27 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi
A command that would allow us to hide and show the software keyboard.
termux-keyboard-show / termux-keyboard-hide

This would allow for scripts that automatically go into 'fullscreen' at the start and show the keyboard again when it is done.

Additionally something like termux-keyboard-visible would also be very usefull, to check whether the keyboard is present to begin with.
Example:

isKeyboardVisible=$(termux-keyboard-visible)
termux-keyboard-hide
./presentation.sh
if [ $isKeyboardVisible ]; then
  termux-keyboard-show
endif

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 examining existing Termux API command entry points and the Android keyboard integration. Use the requested termux-keyboard-show, termux-keyboard-hide, and termux-keyboard-visible commands as the scope. Done means scripts can hide or show the keyboard and reliably query its visibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.