Skip to content

[Feature]: Configure Text Input View #4922

@mrkrsl

Description

@mrkrsl

Feature description

Issue and use-case

The Text Input View (the swipe typing-compatible text input that can be switched into the extended keyboard area) is a great workaround for the limitations of text entry into the Terminal grid. It allows for the entry of long text using standard Android keyboard interactions into README files or for longer Markdown editing and writing.

The current Text Input View is basic. It allows only for a single, non-breaking line of text which removes context from what has been typed. It takes on a generic style where the text is 3x larger than the terminal text.

It could be easily improved so that it is more comfortable to type into to edit long-text.

Feature request

Either have more sensible defaults for, or allow the user to override the default settings for the Text Input View:

  1. Allowing multi-line text input that wraps and scrolls (e.g. android:inputType="textMultiLine" in place of android:inputType="text" and android:maxLines to be >1 - e.g. 3 or 5).
  2. The ability to control the font size so that more text can be displayed in the text area. The default could be the same size as that in the Terminal view itself.

See the target resource here.

Ideally the defaults could be overridden in the ~/.termux/termux.preferences file and be minimally documented.

This would greatly improve the Text Input View feature.

Additional information

I believe Termux is unique in offering the Text Input View for long text input. It is a differentiator.

See this Reddit thread for context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions