local wezterm = require 'wezterm' local config = {} config.color_scheme = 'OceanicNext (base16)' -- config.font = wezterm.font 'FiraCode Nerd Font Mono' config.font = wezterm.font_with_fallback { "FiraCode Nerd Font Mono", { family = "Noto Color Emoji", assume_emoji_presentation = true }, } config.font_size = 14 config.enable_tab_bar = false config.audible_bell = "Disabled" -- Wayland-specific settings config.enable_wayland = true config.window_decorations = "NONE" -- Fix F7/F8 not working in tcell-based TUI apps (e.g. senpai) -- Disable kitty keyboard protocol and use legacy CSI sequences config.enable_kitty_keyboard = false -- Send the standard VT/terminfo sequences for function keys (e.g. F7=\E[18~, F8=\E[19~) -- that tcell-based apps expect config.keys = { { key = 'F7', mods = '', action = wezterm.action.SendString('\x1b[18~') }, { key = 'F8', mods = '', action = wezterm.action.SendString('\x1b[19~') }, } return config