forked from robertabcd/PttChrome
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'iid/feat/max-font-size' into dev-update
explanation: robertabcd#81 feat(term size): add max-font-size mode The max-font-size mode behaviors like the fixed-font-size mode in that a basic font size can be specified by the user. However, when the window is too narrow or too short, fixed-font-size just lets the terminal screen overflow the window, while max-font-size shrinks the font to keep the screen inside the window. This feature should benefit users who use PttChrome on a relatively small screen (e.g., mobile/tablet users) and want to maximize the use of the limited space of their screen for reading without manually tweaking the terminal size in the fixed-term-size mode. Video for demonstration: https://user-images.githubusercontent.com/37586669/116145093-6c677680-a70f-11eb-9983-7eadda00b09b.mp4 Note: After the recording of the video, the options for specifying the minimum height and width of the terminal screen size for max-font-size were dropped for the convenience of user. The minimum terminal screen size is hardcoded as 80 cols x 24 rows.
- Loading branch information
Showing
5 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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