Skip to content

Added Select All Option#88

Open
UltraSina wants to merge 2 commits intotermux-play-store:mainfrom
UltraSina:main
Open

Added Select All Option#88
UltraSina wants to merge 2 commits intotermux-play-store:mainfrom
UltraSina:main

Conversation

@UltraSina
Copy link

Changes

  • Added "Select All" button to text selection menu
  • Selects all text in current terminal buffer (active scrollback + visible screen)
  • Added ACTION_SELECT_ALL constant and menu item
  • Implemented selectAll() method
  • Added string resource select_all_text

Testing

  • Select All appears in menu
  • Selects from top of scrollback to bottom of screen

@robertkirkman
Copy link

It's working really good job,

image

however, I was kind of wondering, this way does work but it only can select what's visible on the screen,

what if there was a way to make another button to "select everything" that would really actually select everything, but in a SurfaceFlinger Terminal like this one in this repo? (Google Play Termux APK)

Here is what is possible on desktop PC (a terminal for X11 called Kitty):

select-all-on-pc.webm

you can see that it can select all even what's not visible on the screen immediately and the way it's possible is using the button combination Left Mouse + Ctrl + Shift + Home -> Ctrl + C

Copy link

@robertkirkman robertkirkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it does select everything including what's not on the screen, I thought it didn't, but actually it does, that's really good!!!!!

@fornwall
Copy link
Collaborator

fornwall commented Nov 10, 2025

@UltraSina @robertkirkman For my understanding: What is the use case of this (how would you use it)?

If you use the (badly named, we should improve that) Share transcript command under the More... option, does that work as an alternative (you can either send all terminal text to another app, or copy it into the clipboard)?

@robertkirkman
Copy link

@UltraSina @robertkirkman For my understanding: What is the use case of this (how would you use it)?

If you use the (badly named, we should improve that) under the More... option, does that work as an alternative (you can either send all terminal text to another app, or copy it into the clipboard)?

Oh, you mean the "share transcript" button! Very good, I didn't know about that! Yes that does what I need. I didn't know about that button! However, it's true that it's very subtly different from "select all". I don't know whether "share transcript" already does what UltraSina needs or not. @UltraSina what do you think of the "share transcript" button?

@ultrasina681
Copy link

@fornwall @robertkirkman sharing transcript will not let you customize what you want to copy also in some devices like my old phone copy to clipboard option is not exist in share menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants