termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

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

Open andruska opened this issue 1 year ago • 1 comments

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

  • Termux application version: 0.118.0
  • Android OS version: Android 10
  • Device model: Huawei

andruska avatar Oct 16 '23 15:10 andruska