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
36.37k stars 3.82k forks source link

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

Open andruska opened 1 year ago

andruska commented 1 year 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 3 months ago

+1