kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.11k stars 972 forks source link

Can't exit current bash shell successful occasionally. #4457

Closed zw963 closed 2 years ago

zw963 commented 2 years ago

Describe the bug Just can not exit, don't know what happening.

as like this:

image

Environment details

kitty 0.23.1 created by Kovid Goyal
Linux lggram 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000 x86_64
Arch Linux \r (\l)
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
Running under:X11
Loaded config files:
  /home/zw963/.config/kitty/kitty.conf

Config options different from defaults:
font_family               "Fira Code Retina"
font_size                 13.0
linux_display_server      x11
scrollback_lines          20000
select_by_word_characters @-./_~?&=%+:#
strip_trailing_spaces     smart
tab_bar_edge              1
tab_bar_style             powerline
update_check_interval     24.0
Added shortcuts:
    f1 KeyAction('launch', ('--stdin-source=@screen_scrollback', '--stdin-add-formatting', 'less', '+G', '-R'))
    alt+0 KeyAction('next_tab')
    alt+1 KeyAction('first_window')
    alt+2 KeyAction('second_window')
    alt+3 KeyAction('third_window')
    alt+4 KeyAction('fourth_window')
    alt+5 KeyAction('fifth_window')
    alt+6 KeyAction('sixth_window')
    alt+7 KeyAction('seventh_window')
    alt+8 KeyAction('eighth_window')
    alt+9 KeyAction('previous_tab')
    alt+n KeyAction('scroll_line_down')
    alt+p KeyAction('scroll_line_up')
    alt+v KeyAction('scroll_page_up')
    alt+w KeyAction('copy_to_clipboard')
    alt+enter KeyAction('new_window_with_cwd')
    shift+alt+, KeyAction('scroll_home')
    shift+alt+. KeyAction('scroll_end')
    ctrl+- KeyAction('change_font_size', (True, '-', 2.0))
    ctrl+= KeyAction('change_font_size', (True, '+', 2.0))
    ctrl+v KeyAction('scroll_page_down')
    ctrl+y KeyAction('paste_from_clipboard')
    ctrl+f2 KeyAction('edit_config_file')
    alt+ctrl+0 KeyAction('move_tab_forward')
    alt+ctrl+9 KeyAction('move_tab_backward')
    alt+ctrl+b KeyAction('move_window_backward')
    alt+ctrl+f KeyAction('move_window_forward')
Changed shortcuts:
    shift+ctrl+0 KeyAction('goto_layout', ('tall',))
    shift+ctrl+9 KeyAction('goto_layout', ('fat',))
    shift+ctrl+f KeyAction('show_scrollback')
    shift+ctrl+k KeyAction('clear_terminal', ('reset', True))
Colors:
    active_tab_background     #4c566a   
    active_tab_foreground     #e5e9f0   
    background                #2e3440   
    color0                    #3b4252   
    color1                    #bf616a   
    color10                   #a3be8c   
    color11                   #ebcb8b   
    color12                   #81a1c1   
    color13                   #b48ead   
    color14                   #88c0d0   
    color15                   #e5e9f0   
    color2                    #a3be8c   
    color3                    #ebcb8b   
    color4                    #81a1c1   
    color5                    #b48ead   
    color6                    #88c0d0   
    color7                    #e5e9f0   
    color8                    #4c566a   
    color9                    #bf616a   
    cursor                    #d8dee9   
    cursor_text_color         #4c566a   
    foreground                #d8dee9   
    inactive_tab_background   #3b4252   
    inactive_tab_foreground   #d8dee9   
    mark1_foreground          #d08770   
    mark2_foreground          #d08770   
    mark3_foreground          #d08770   
    selection_background      #3b4252   
    selection_foreground      #d8dee9   
    url_color                 #e5e9f0   
kovidgoyal commented 2 years ago

https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.close_on_child_death