Describe the bug
When using tab completion at the command prompt (zsh) in kitty 0.26.0 the text added for the completion cannot be deleted. Despite the text not being able to be deleted it (the text) is not included as a part of the next command.
To Reproduce
Steps to reproduce the behavior:
Open kitty
Type a command e.g. vim
Type TAB to provide a list of completion options
Attempt to erase the tab completed text
The text does not completely erase, but it is also not included in any command
Screenshots
Here I type vim <tab> then hold backspace until it stops (doesn't go all the way to the prompt). Next I run ls to show that the "ghost text" has no effect.
Environment details
kitty 0.26.0 created by Kovid Goyal
Darwin Alexanders-iMac.cable.rcn.com 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64
ProductName: macOS ProductVersion: 12.5.1 BuildVersion: 21G83
Frozen: True
Paths:
kitty: /Applications/kitty.app/Contents/MacOS/kitty
base dir: /Applications/kitty.app/Contents/Resources/kitty
extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
system shell: /bin/zsh
Loaded config files:
/Users/al/.config/kitty/kitty.conf
Config options different from defaults:
allow_remote_control yes
bold_font Operator Mono Lig Medium
bold_italic_font Operator Mono Lig Medium Italic
confirm_os_window_close 1
copy_on_select clipboard
dynamic_background_opacity True
editor /Applications/Neovide.app/Contents/MacOS/neovide
enable_audio_bell False
font_family Operator Mono Lig Book
font_size 14.0
italic_font Operator Mono Lig Book Italic
kitty_mod cmd
macos_custom_beam_cursor True
macos_option_as_alt 3
macos_show_window_title_in menubar
macos_thicken_font 0.25
macos_titlebar_color 1
mouse_hide_wait -1.0
scrollback_lines 5000
tab_bar_style powerline
url_prefixes ('http', 'https', 'file', 'ftp', 'gemini', 'irc', 'gopher', 'mailto', 'news', 'git')
window_padding_width FloatEdges(left=5.0, top=5.0, right=5.0, bottom=5.0)
Added shortcuts:
ctrl+down → neighboring_window down
ctrl+left → neighboring_window left
ctrl+right → neighboring_window right
ctrl+up → neighboring_window up
f1 → launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay ~/.config/kitty/pager.sh
f2 → goto_layout splits
f3 → kitty_shell window
f4 → launch --location=split
f5 → launch --location=hsplit
kitty_mod+shift+. → move_tab_backward
kitty_mod+shift+n → new_os_window_with_cwd
kitty_mod+shift+p → send_text all :Telescope commands\r
shift+down → move_window down
shift+f1 → launch --type=overlay --stdin-source=@screen_scrollback --stdin-add-formatting ~/.config/kitty/pager.sh
shift+f2 → goto_layout stack
shift+f3 → show_kitty_env_vars
shift+f4 → layout_action rotate
shift+f5 → launch --location=vsplit
shift+left → move_window left
shift+right → move_window right
shift+up → move_window up
Removed shortcuts:
cmd++ → change_font_size all +2.0
cmd+, → edit_config_file
cmd+- → change_font_size all -2.0
cmd+0 → change_font_size all 0
cmd+1 → first_window
cmd+2 → second_window
cmd+3 → third_window
cmd+4 → fourth_window
cmd+5 → fifth_window
cmd+6 → sixth_window
cmd+7 → seventh_window
cmd+8 → eighth_window
cmd+9 → ninth_window
cmd+= → change_font_size all +2.0
cmd+c → copy_to_clipboard
cmd+down → scroll_line_down
cmd+end → scroll_end
cmd+enter → new_window
cmd+home → scroll_home
cmd+k → clear_terminal to_cursor active
cmd+n → new_os_window
cmd+page_down → scroll_page_down
cmd+page_up → scroll_page_up
cmd+r → start_resizing_window
cmd+t → new_tab
cmd+up → scroll_line_up
cmd+v → paste_from_clipboard
cmd+w → close_tab
Changed shortcuts:
kitty_mod+, → edit_config_file
kitty_mod+0 → change_font_size all 0
kitty_mod+enter → launch --cwd=current
kitty_mod+k → clear_terminal to_cursor active
kitty_mod+t → new_tab_with_cwd
kitty_mod+w → close_tab
Colors:
active_tab_background #7aa2f7
active_tab_foreground #1f2335
background #24283b
color0 #1d202f
color1 #f7768e
color10 #9ece6a
color11 #e0af68
color12 #7aa2f7
color13 #bb9af7
color14 #7dcfff
color15 #c0caf5
color16 #ff9e64
color17 #db4b4b
color2 #9ece6a
color3 #e0af68
color4 #7aa2f7
color5 #bb9af7
color6 #7dcfff
color7 #a9b1d6
color8 #414868
color9 #f7768e
cursor #c0caf5
foreground #c0caf5
inactive_tab_background #292e42
inactive_tab_foreground #545c7e
selection_background #364a82
selection_foreground #c0caf5
url_color #73daca
Important environment variables seen by the kitty process:
PATH /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
LANG en_US.UTF-8
SHELL /bin/zsh
USER al
Additional context
Reproduced with kitty --config NONE. I skipped the GIF, but the same series of actions leads to the same behavior as described above.
Happy to provide more information. Thanks for writing my favorite terminal emulator!
Describe the bug When using tab completion at the command prompt (zsh) in kitty 0.26.0 the text added for the completion cannot be deleted. Despite the text not being able to be deleted it (the text) is not included as a part of the next command.
To Reproduce Steps to reproduce the behavior:
Screenshots Here I type
vim <tab>
then hold backspace until it stops (doesn't go all the way to the prompt). Next I runls
to show that the "ghost text" has no effect.Environment details
Additional context Reproduced with kitty --config NONE. I skipped the GIF, but the same series of actions leads to the same behavior as described above.
Happy to provide more information. Thanks for writing my favorite terminal emulator!