Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting cursor_text_color via remote protocol has no effect #5994

Closed
knatsakis opened this issue Feb 8, 2023 · 1 comment
Closed

Setting cursor_text_color via remote protocol has no effect #5994

knatsakis opened this issue Feb 8, 2023 · 1 comment
Labels

Comments

@knatsakis
Copy link

Describe the bug
Setting cursor_text_color via remote protocol, after having set cursor has no effect

To Reproduce
Steps to reproduce the behavior:

  1. Set cursor color with kitty @ set-colors 'cursor=#ff0000'
  2. Set cursor text color with kitty @ set-colors 'cursor_text_color=#ff0000'
  3. The cursor's text color remains unaffected

Environment details

kitty 0.26.5 created by Kovid Goyal
Linux saturn 6.0.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.8-1 (2022-11-11) x86_64
Debian GNU/Linux bookworm/sid saturn /dev/tty

Running under: X11
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/zsh
Loaded config files:
  /etc/xdg/kitty/kitty.conf

Config options different from defaults:
active_tab_font_style      (True, False)
allow_remote_control       yes
background_opacity         0.8
bold_font                  Iosevka Term Bold
bold_italic_font           Iosevka Term Bold Oblique
box_drawing_scale          (0.01, 0.5, 1.0, 1.5)
clipboard_control          ('write-clipboard', 'write-primary', 'no-append')
confirm_os_window_close    0
cursor_stop_blinking_after 0
disable_ligatures          1
enable_audio_bell          False
font_family                Iosevka Term
font_size                  9.0
inactive_text_alpha        0.75
initial_window_height      (1080, 'px')
initial_window_width       (1920, 'px')
italic_font                Iosevka Term Oblique
kitty_mod                  hyper
listen_on                  socket-only
modify_font:
    baseline 0
    cell_height 0
    cell_width 0
mouse_hide_wait            0.0
remember_window_size       False
resize_in_steps            True
scrollback_lines           65535
tab_bar_style              powerline
tab_powerline_style        slanted
tab_separator               
tab_title_template         {sup.index}{title}
update_check_interval      0.0
url_prefixes               ('http', 'https', 'file', 'ftp', 'gemini', 'irc', 'gopher', 'mailto', 'news', 'git')
url_style                  1
window_border_width        (1.0, 'px')
window_resize_step_cells   1
window_resize_step_lines   1
Added mouse actions:
	alt+left press ungrabbed →  mouse_selection rectangle
	alt+left triplepress ungrabbed →  mouse_selection line_from_point
	shift+alt+left press grabbed →  mouse_selection rectangle
	shift+alt+left press ungrabbed →  mouse_selection rectangle
	shift+alt+left triplepress grabbed →  mouse_selection line_from_point
	shift+alt+left triplepress ungrabbed →  mouse_selection line_from_point
Removed mouse actions:
	ctrl+alt+left press ungrabbed →  mouse_selection rectangle
	ctrl+alt+left triplepress ungrabbed →  mouse_selection line_from_point
	ctrl+shift+alt+left press grabbed →  mouse_selection rectangle
	ctrl+shift+alt+left press ungrabbed →  mouse_selection rectangle
	ctrl+shift+alt+left triplepress grabbed →  mouse_selection line_from_point
	ctrl+shift+alt+left triplepress ungrabbed →  mouse_selection line_from_point
	ctrl+shift+left press grabbed →  discard_event
	ctrl+shift+left release grabbed →  mouse_handle_click link
	ctrl+shift+left release ungrabbed →  mouse_handle_click link
	ctrl+shift+right press ungrabbed →  mouse_show_command_output
	shift+middle press grabbed →  discard_event
Changed mouse actions:
	left click ungrabbed →  mouse_click_url_or_select
	shift+left click grabbed →  mouse_click_url_or_select
	shift+left click ungrabbed →  mouse_click_url_or_select
	shift+middle release grabbed →  paste_from_selection
	shift+middle release ungrabbed →  paste_from_selection
Added shortcuts:
	kitty_mod+alt++ →  change_font_size all +1.0
	kitty_mod+alt+- →  change_font_size all -1.0
	kitty_mod+alt+= →  change_font_size all 0
	kitty_mod+ctrl+e →  kitten hints --type url --multiple
	kitty_mod+p > ctrl+f →  kitten hints --type path --program - --multiple
	kitty_mod+p > ctrl+h →  kitten hints --type hash --program - --multiple
	kitty_mod+p > ctrl+l →  kitten hints --type line --program - --multiple
	kitty_mod+p > ctrl+n →  kitten hints --type linenum --multiple
	kitty_mod+p > ctrl+shift+f →  kitten hints --type path --multiple
	kitty_mod+p > ctrl+w →  kitten hints --type word --program - --multiple
	kitty_mod+p > ctrl+y →  kitten hints --type hyperlink --multiple
Removed shortcuts:
	ctrl+shift+tab →  previous_tab
	ctrl+tab →  next_tab
	kitty_mod+backspace →  change_font_size all 0
	kitty_mod+f1 →  show_kitty_doc overview
	kitty_mod+f5 →  load_config_file
	kitty_mod+f6 →  debug_config
	kitty_mod+f7 →  focus_visible_window
	kitty_mod+f8 →  swap_with_window
	kitty_mod+g →  show_last_command_output
	kitty_mod+j →  scroll_line_down
	kitty_mod+k →  scroll_line_up
	kitty_mod+kp_add →  change_font_size all +2.0
	kitty_mod+kp_subtract →  change_font_size all -2.0
	kitty_mod+x →  scroll_to_prompt 1
	kitty_mod+z →  scroll_to_prompt -1
	shift+insert →  paste_from_selection
Changed shortcuts:
	kitty_mod++ →  change_font_size current +1.0
	kitty_mod+, →  load_config_file
	kitty_mod+- →  change_font_size current -1.0
	kitty_mod+. →  debug_config
	kitty_mod+= →  change_font_size current 0
	kitty_mod+e →  kitten hints --type url
Colors:
	active_border_color        #ffffff
	active_tab_background      #409fff
	bell_border_color          #ff0000
	color0                     #202020
	color1                     #bf0000
	color10                    #a6ff4d
	color11                    #ffcf40
	color12                    #409fff
	color13                    #ff4dff
	color14                    #4dffff
	color2                     #59b300
	color3                     #bf8f00
	color4                     #0060bf
	color5                     #b300b3
	color6                     #00b3b3
	color7                     #cccccc
	color8                     #535353
	color9                     #ff4040
	cursor                     #ffffff
	cursor_text_color          #000000
	foreground                 #ffffff
	inactive_border_color      #000000
	inactive_tab_background    #000000
	inactive_tab_foreground    #409fff
	selection_background       #ffffff
	url_color                  #409fff
@knatsakis
Copy link
Author

This seems to fix the issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant