Comments (6)
Works fine for me. I suggest you follow the issue tmeplate provide the
requested information, then you might get more asistance.
from kitty.
kitty 0.31.0 created by Kovid Goyal
Linux hax 6.7.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 x86_64
Arch Linux 6.7.6-arch1-1 (/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: /sbin/zsh
Loaded config files:
/home/pal/.config/kitty/kitty.conf
Config options different from defaults:
confirm_os_window_close 0
cursor_shape 3
enable_audio_bell False
font_family CommitMonoNerdFont
font_size 18.0
shell_integration frozenset({'disabled'})
Colors:
background #0e1419
color1 #ff3333
color10 #e9fe83
color11 #fff778
color12 #68d4ff
color13 #ffa3aa
color14 #c7fffc
color2 #b8cc52
color3 #e6c446
color4 #36a3d9
color5 #f07078
color6 #95e5cb
color7 #ffffff
color8 #323232
color9 #ff6565
cursor #87ff87
foreground #e5e1cf
selection_background #243340
selection_foreground #0e1419
Important environment variables seen by the kitty process:
PATH /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
LANG C.UTF-8
EDITOR nvim
SHELL /sbin/zsh
DISPLAY :0
USER pal
XDG_SEAT seat0
XDG_SESSION_DESKTOP xmonad
XDG_SESSION_TYPE x11
XDG_SESSION_CLASS user
XDG_VTNR 2
XDG_SESSION_ID 1
XDG_RUNTIME_DIR /run/user/1000
XDG_DATA_DIRS /home/pal/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
from kitty.
Works fine for me with:
kitty --config=NONE -o shell_integration=no-cursor -o cursor_shape=underline -o shell=cat
and also with:
kitty --config=NONE -o shell_integration=no-cursor -o cursor_shape=underline -o shell=zsh
If its not working for you with the latter, it means something in your
zshrc is setting the cursor shape. As noted in the docs for the
cursor_shape option it is applied only when the program running in the
terminal doesnt set a cursor shape
from kitty.
Funny thing is your debug code also doesnt work for me. It starts the console with normal cursor and not underline. What the hell. My .zshrc has only this:
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt EXTENDED_HISTORY
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/pal/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
export EDITOR=nvim
export BROWseR="brave"
PROMPT='%B%F{120}%~ >%f%b '
RPROMPT='%F{008}%T%f'
from kitty.
There is a whole bunch of files involved in zsh startup not just zshrc. Read man zsh for details.
from kitty.
I dont have .zshenv, .zprofile, .zlogin or .zlogout. Neither in home dir nor in /etc/
Edit 1: The cmd kitty -o shell_integration=no-cursor -o cursor_shape=underline -o shell=bash
works. When I change the shell to zsh, it doesnt. It seems it is not the config but somehow the shell. But I dont know what forces the shell to override kitty cursor?
Edit 2: When I delete the .zshrc, it also works. But when I remove everything in the .zshrc, so that it is empty, it doesnt work lol. Im confused.
Edit 3: I just installed alacritty, a different terminal ,and wrote cursor: style: Underline
into the alacritty.yml config, when I start alacritty it works. And with echo $SHELL it gives me /sbin/zsh. So the problem is definitely kitty.
from kitty.
Related Issues (20)
- Support for ESC X character strings
- Editor configuration not respected when opening file hints HOT 4
- Add Yazi terminal file manager to the list of software implementing kitty's keyboard protocol
- Kitty paste_from_clipboard + <cmd-v> interaction HOT 1
- Kitty @ ls doesn't seem to match properly on mac os HOT 2
- an option for kitty @ send-text to fail if no terminals match HOT 1
- Font rendering HOT 2
- Feature request: tab_title_program HOT 1
- Missing modifier release events on window focus change HOT 2
- allow selecting and copying text using the keyboard HOT 3
- [fish shell integration] repaint removes text printed by fish key binding HOT 2
- Mouse pointer abnormally large under KDE Plasma 6 HOT 4
- Kitty background opaque with transparency set after building kitty 0.32 from AUR on Plasma 6 HOT 15
- toggle_tab action (similar to toggle_layout)
- Implement layout_action rotate for Grid layout HOT 1
- kitty redrawing (for example when resized) on fonts at even sizes causes some text to disappear HOT 3
- new_tab command not working in startup.config HOT 2
- High CPU usage after a few hours HOT 32
- OSC 52 does not work as expected in kitty 0.33.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.