Closed
Description
Describe the bug
Kitty seems to include characters it normally wouldn't in links if the window is sized in a way that the offending characters spill to the next lines
To Reproduce
Steps to reproduce the behavior:
- Launch
kitty -c /dev/null
- Run
echo "[https://github.com/kovidgoyal/kitty/releases]"
- Resize window so
]
is on it's own line, by itself - Click link, observe link has
]
on the end.
Screenshots
]
is removed, as expected.
]
is included, unexpected
]
is removed, as expected
Environment details
kitty 0.30.1 (6a3529b7c2) created by Kovid Goyal
Darwin GQFWMD6VL7 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
ProductName: macOS ProductVersion: 13.5.2 BuildVersion: 22G91
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: /opt/homebrew/bin/zsh
Loaded config files:
/dev/null
Config options different from defaults:
Important environment variables seen by the kitty process:
PATH [I censored this bit, let me know if you would like it]
LANG en_US.UTF-8
EDITOR vim
SHELL /bin/zsh
USER jay.kamat
Additional context
Seems to reproduce with a default config