add a terminal that is really support ime

This commit is contained in:
nnduc
2026-05-20 23:18:07 +07:00
parent 1e81b70717
commit fadaabba4f
3 changed files with 62 additions and 2 deletions

26
wezterm/wezterm.lua Normal file
View File

@@ -0,0 +1,26 @@
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- Font
config.font = wezterm.font '0xProto Nerd Font'
config.font_size = 13
-- Appearance
config.color_scheme = 'Tokyo Night'
config.enable_tab_bar = false
config.window_padding = {
left = 4, right = 4, top = 4, bottom = 4,
}
-- IME (set to whatever you use)
config.use_ime = true
-- config.xim_im_name = 'fcitx' -- uncomment and adjust if needed
-- Scrollback
config.scrollback_lines = 10000
-- OSC 52 — on by default, but explicit is fine
config.enable_kitty_keyboard = false -- avoid surprising keybinds
return config