termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
34.88k stars 3.67k forks source link

[Bug]: Termux terminal focus reporting is a bug or not implemented #3650

Open andruska opened 11 months ago

andruska commented 11 months ago

Problem description

Programs launched in the Termux terminal cannot know the focus state of the Termux terminal Android window or the window of the terminal session.

Steps to reproduce the behavior.

When expecting Xterm compatible behavior:

$ echo -e "\e[?1004h" && read

Produces nothing when switching Android app or Termux terminal sessions inside Android window.

What is the expected behavior?

Receiving \e[I (focus-in) or \e[O (focus-out)

System information

DilettanteProjects commented 1 month ago

+1