Skip to content

add a way to enlarge font with key combination #10

Closed
@cdepillabout

Description

@cdepillabout

Currently Termonad doesn't have any way to enlarge the font with a key combination. You have to edit the ~/.config/termonad/termonad.hs file and restart Termonad. This is pretty annoying and should be fixed.

I used to use the terminal emulator Roxterm. Roxterm has font resizing options like the following ("Zoom In", "Zoom Out", "Normal Size"):

file2

It would be great to have similar options for Termonad. Adding this would require the following steps:

  1. Add a new menu entry for enlarging and shrinking here.

  2. Setup the callbacks for the options in the second half of this function.

  3. Within the callbacks, create a new FontDescription, and then loop through the existing terminals and update their FontDescription.

  4. Bonus points if you change it so that a FontDescription is actually associated with a single terminal instead of the entire application. That way the font size for a single terminal would be able to be increased instead of increasing the font sizes for all terminals.

  5. Extra bonus points if you add a configuration option that the user can set that says whether they want the Increase Font Size / Decrease Font Size buttons to change the font size of ALL terminals, or just the focused on. Or, maybe add an extra button that increases the fontsize for all terminals??

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions