<cherti>
just noticed: the foot-terminfo included in curses seems to be incomplete
<cherti>
very specifically, the tsl-capability seems to be not present
<cherti>
is that known/intended/broken?
<cherti>
works fine if I set term=foot-extra in foot.ini
lechner has quit [Quit: WeeChat 3.0]
<rcf>
cherti: this is the intention; the entry was added by upstream of their own initiative, and they only include the more 'standard' capabilities as defined by them.
<rcf>
foot-extra is used to add all the extra features for those who care about more than ncurses, without clashing with the ncurses package people are already going to have installed.
diniwed has joined #foot
lechner has joined #foot
cbb has joined #foot
<cbb>
rcf: that's the case for most of the excluded caps, but I think "tsl" was a different case
<cbb>
"tsl" was dropped because when Thomas Dickey tested the original terminfo entry, "tsl" didn't seem to work
<cbb>
but that's because he was using client-side decorations, where showing the window title wasn't implemented yet
<cherti>
there is a PR open to fix that, I have patched mine locally, but official ranger releases will crash on foot with the ncurses-terminfo
<cherti>
and even after the fix (which is basically "oh, not supported? ok, we'll ditch this functionality") some features do not work, specifically setting the terminal title to the current directory
<cherti>
(that being said, it only crashes ranger if you have enabled that feature, can't recall what's the exact option name was, but then it does so absolutely reliably)
<cherti>
but sounds that bug has to be opened against curses then
<dnkl>
(run-time switching only, no conf option. Foot would still default to our current mode)
cbb has quit [Ping timeout: 264 seconds]
cbb has joined #foot
<cbb>
dnkl: seems reasonable
<cbb>
modifyOtherKeys=2 is kind of quirky
<cbb>
if I recall correctly it sends an uppercase codepoint *and* a shift modifier for Shift+letters
<cbb>
which can make things difficult for clients
<cbb>
it's not very well designed at all imo....it's just a thrown together hack like many other things in xterm
<cbb>
but if vim is using it and adding support for it improves things it's probably still worth doing
<dnkl>
I agree with that... I wouldn't even consider it if it would have required completely new keymap tables, or encoding logic. But it doesn't - the patch is fairly small
<cbb>
dnkl: yeah, if the patch is small it seems like a very reasonable thing to add
<cbb>
especially since it's been around much longer than any alternative
<cbb>
I wonder if vim plan to use the kitty protocol (or are already)?
<cbb>
I've also been wondering whether it'd be worthwhile to have an option in foot to control if the modifyOtherKeys=1 sequences are sent by default
<dnkl>
Yeah, with the changes introduced with this PR, making mode 1 optional as well should be fairly simple
diniwed has joined #foot
cbb has quit [Ping timeout: 256 seconds]
diniwed has quit [Read error: Connection reset by peer]
diniwed has joined #foot
cbb has joined #foot
cbb has quit [Ping timeout: 240 seconds]
cbb has joined #foot
Arnavion has quit [Ping timeout: 268 seconds]
Arnavion has joined #foot
cbb has quit [Quit: WeeChat 3.3]
brocellous has quit [Read error: Connection reset by peer]