Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow keybinding to multiple actions #685

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Conversation

o-sdn-o
Copy link
Collaborator

@o-sdn-o o-sdn-o commented Nov 21, 2024

Changes

  • Allow keybinding to multiple actions.
    <config>
      <hotkeys>  <!-- The required key combination sequence can be generated on the Info page, accessible by clicking on the label in the lower right corner of the vtm desktop. -->
        <gui key*>  <!-- Native GUI window layer key bindings. key* here is to clear all previous bindings and start a new list. -->
          <key="CapsLock+UpArrow"      action=IncreaseCellHeight/>      <!-- Increase the text cell height by one pixel. -->
          <key="CapsLock+DownArrow"    action=DecreaseCellHeight/>      <!-- Decrease the text cell height by one pixel. -->
          <key="Ctrl+0">
            <action=DropAutoRepeat/>          <!-- Don't autorepeat the Reset text cell height. -->
            <action=ResetCellHeight/>         <!-- Reset text cell height. -->
          </key>
          <key="Alt+Enter">
            <action=DropAutoRepeat/>          <!-- Don't autorepeat the Toggle fullscreen mode. -->
            <action=ToggleFullscreenMode/>    <!-- Toggle fullscreen mode. -->
          </key>
        </gui>
      </hotkeys>
    </config>
  • Support for lazy grapheme clustering.
    image

@o-sdn-o o-sdn-o merged commit d6cb9c5 into directvt:master Nov 21, 2024
8 checks passed
@o-sdn-o o-sdn-o deleted the gui-bridge branch November 21, 2024 08:47
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.

1 participant