Added: Implement text scale disabling feature in terminal view#4366
Open
Kijju wants to merge 4 commits intotermux:masterfrom
Open
Added: Implement text scale disabling feature in terminal view#4366Kijju wants to merge 4 commits intotermux:masterfrom
Kijju wants to merge 4 commits intotermux:masterfrom
Conversation
The user can add `disable-zoom-scale=true` entry to `termux.properties` file to disable text size scaling in terminal view. * The default value is `false`. Restarting the termux app or running the `termux-reload-settings` command will update the behavior instantaneously if changed.
The user can add `disable-terminal-view-scaling=true` entry to `termux.properties` file to disable text size scaling in terminal view. * The default value is `false`. Restarting the termux app or running the `termux-reload-settings` command will update the behavior instantaneously if changed.
0xiblis
pushed a commit
to 0xiblis/termux-monet
that referenced
this pull request
Jun 14, 2025
0xiblis
pushed a commit
to 0xiblis/termux-monet
that referenced
this pull request
Jun 14, 2025
0xiblis
pushed a commit
to 0xiblis/termux-monet
that referenced
this pull request
Jun 29, 2025
|
1 v.l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to disable terminal view scaling and includes several changes across different files to implement and support this feature.
New feature implementation:
app/src/main/java/com/termux/app/terminal/TermuxTerminalViewClient.java: Added the methodisTerminalViewScalingDisabledto check if terminal view scaling is disabled.terminal-view/src/main/java/com/termux/view/TerminalView.java: Modified theonScalemethod to respect the newisTerminalViewScalingDisabledcheck.terminal-view/src/main/java/com/termux/view/TerminalViewClient.java: Added theisTerminalViewScalingDisabledmethod to theTerminalViewClientinterface.Support for new feature in properties:
termux-shared/src/main/java/com/termux/shared/termux/settings/properties/TermuxPropertyConstants.java: Added the keyKEY_DISABLE_TERMINAL_VIEW_SCALINGand updated relevant property lists to include this new key. [1] [2] [3] [4]termux-shared/src/main/java/com/termux/shared/termux/settings/properties/TermuxSharedProperties.java: Added the methodisTerminalViewScalingDisabledto retrieve the property value.termux-shared/src/main/java/com/termux/shared/termux/terminal/TermuxTerminalViewClientBase.java: Implemented theisTerminalViewScalingDisabledmethod to return a default value.