Skip to content

why character be update when press special_keys? #10

Description

@BackMountainDevil

character = shift_characters[character]
if 'ctrl' in special_keys and 'alt' not in special_keys and 'shift' not in special_keys:
character = ctrl_characters[character]
if 'ctrl' in special_keys and 'alt' in special_keys:
character = alt_and_ctrl_characters[character]
if 'ctrl' in special_keys and 'shift' in special_keys:
character = shift_and_ctrl_characters[character]

on those lines, when special_keys(shift, ctrl, alt) is pressed, the character will be updated. If updated, demo(Combo(['ctrl','alt'], 'g', function_2, 'goodbye world')) not working. If not updated(comment those lines), demo work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions