Skip to content

When using CJK input method in MacOS, space is inserted twice per 1 stroke. #8079

@difro

Description

@difro

When in Korean IME mode,
pressing spacebar once results two spaces instead of one.

Reproduced below,
First line is in Korean IME, pressing a<space><space>b<space><space>c<space><space>
Second line is doing the same strokes but in English IME mode.
Jul-08-2024 14-28-15

I've checked with the same font on different app(Mac's Terminal Emulator), and it doen't happen there.

System

OS: macOS
Version: alacritty 0.13.2 (bb8ea18)

Logs

Crashes: STDERR, STDOUT
Font/Terminal size:

[0.000002541s] [INFO ] [alacritty] Welcome to Alacritty
[0.000215000s] [INFO ] [alacritty] Version 0.13.2 (bb8ea18)
[0.000735958s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/Users/jihoonc/.alacritty.toml"
[0.001189625s] [DEBUG] [alacritty] Using environment locale: en_US.UTF-8
2024-07-08 14:23:36.665 alacritty[79866:31432443] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
[0.016944958s] [INFO ] [alacritty] Using Apple CGL
[0.027597583s] [DEBUG] [alacritty] Picked GL Config:
                                     buffer_type: Some(Rgb { r_size: 8, g_size: 8, b_size: 8 })
                                     alpha_size: 8
                                     num_samples: 0
                                     hardware_accelerated: true
                                     supports_transparency: Some(true)
                                     config_api: Api(OPENGL)
                                     srgb_capable: true
[0.045962750s] [INFO ] [alacritty] Window scale factor: 2
[0.046928250s] [DEBUG] [alacritty] Loading "Cascadia Mono NF" font
[0.081202666s] [INFO ] [alacritty] Running on Apple M1 Pro
[0.081265791s] [INFO ] [alacritty] OpenGL version 4.1 Metal - 88.1, shader_version 4.10
[0.081276958s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.085446125s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.090264083s] [INFO ] [alacritty] Cell size: 15 x 31
[0.090299458s] [INFO ] [alacritty] Padding: 12 x 11
[0.090309166s] [INFO ] [alacritty] Width: 1600, Height: 1200
[0.095707250s] [INFO ] [alacritty] PTY dimensions: 38 x 105
[0.097681500s] [INFO ] [alacritty] Initialisation complete
[0.168949958s] [DEBUG] [alacritty_terminal] Ignoring unknown mode 1034 in set_private_mode
[0.187873250s] [DEBUG] [alacritty_terminal] Ignoring unknown mode 1034 in set_private_mode
[0.196908333s] [DEBUG] [alacritty_terminal] Ignoring unknown mode 1034 in set_private_mode
[2.881014083s] [INFO ] [alacritty] Goodbye

Keyboard and bindings: alacritty --print-events

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions