dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.16.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
sentriz has quit [Ping timeout: 272 seconds]
sentriz has joined #foot
chiselfuse has quit [*.net *.split]
erectus has quit [*.net *.split]
erectus has joined #foot
chiselfuse has joined #foot
chiselfuse has quit [*.net *.split]
erectus has quit [*.net *.split]
sentriz has quit [*.net *.split]
andyrtr has quit [*.net *.split]
narodnik has quit [*.net *.split]
sevz has quit [*.net *.split]
ptrc has quit [*.net *.split]
tkna has quit [*.net *.split]
gbrlsnchs has quit [*.net *.split]
emersion has quit [*.net *.split]
chymera has quit [*.net *.split]
Kabouik has quit [*.net *.split]
novenary has quit [*.net *.split]
jmjl has quit [*.net *.split]
akspecs has quit [*.net *.split]
kaathewise has quit [*.net *.split]
tachi has quit [*.net *.split]
hexa- has quit [*.net *.split]
xenrox has quit [*.net *.split]
rrogalski has quit [*.net *.split]
ahesford has quit [*.net *.split]
bapt has quit [*.net *.split]
kraftwerk28 has quit [*.net *.split]
jpp has quit [*.net *.split]
init has quit [*.net *.split]
lack has quit [*.net *.split]
armin has quit [*.net *.split]
Lord has quit [*.net *.split]
ChanServ has quit [*.net *.split]
diaspora3 has quit [*.net *.split]
dustinm` has quit [*.net *.split]
Consolatis has quit [*.net *.split]
trepatudo has quit [*.net *.split]
lbia has quit [*.net *.split]
llyyr has quit [*.net *.split]
midgard has quit [*.net *.split]
ayushnix has quit [*.net *.split]
sewn has quit [*.net *.split]
qyliss has quit [*.net *.split]
sugarbeet has quit [*.net *.split]
dutchie has quit [*.net *.split]
Arsen has quit [*.net *.split]
mx08_ has quit [*.net *.split]
bookworm has quit [*.net *.split]
miko has quit [*.net *.split]
noteness- has quit [*.net *.split]
WhyNotHugo has quit [*.net *.split]
bananicorn has quit [*.net *.split]
benbrown has quit [*.net *.split]
NickH has quit [*.net *.split]
onjen has quit [*.net *.split]
rodrgz has quit [*.net *.split]
azerov has quit [*.net *.split]
alebastr has quit [*.net *.split]
lanodan has quit [*.net *.split]
auri has quit [*.net *.split]
boomboxnation has quit [*.net *.split]
primalmotion has quit [*.net *.split]
ovf has quit [*.net *.split]
marliere has quit [*.net *.split]
sterni has quit [*.net *.split]
bcheng has quit [*.net *.split]
switchy has quit [*.net *.split]
Arnavion has quit [*.net *.split]
trav40371 has quit [*.net *.split]
luca has quit [*.net *.split]
zxtx has quit [*.net *.split]
sefidel has quit [*.net *.split]
kdk has quit [*.net *.split]
avane has quit [*.net *.split]
beerman has quit [*.net *.split]
psnszsn has quit [*.net *.split]
dekedro has quit [*.net *.split]
rselim has quit [*.net *.split]
tommybomb has quit [*.net *.split]
c7s has quit [*.net *.split]
pvsr has quit [*.net *.split]
leon-p has quit [*.net *.split]
coder_kalyan has quit [*.net *.split]
lh has quit [*.net *.split]
birger has quit [*.net *.split]
Nuc1eoN has quit [*.net *.split]
jknr has quit [*.net *.split]
mckean has quit [*.net *.split]
ollysmith_ has quit [*.net *.split]
nicolai has quit [*.net *.split]
sh1 has quit [*.net *.split]
zar has quit [*.net *.split]
j`ey has quit [*.net *.split]
alexander has quit [*.net *.split]
manio has quit [*.net *.split]
k-man has quit [*.net *.split]
p00f has quit [*.net *.split]
SusanTheNerd has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
baltazar has quit [*.net *.split]
cc0 has quit [*.net *.split]
flowji has quit [*.net *.split]
rcf has quit [*.net *.split]
V has quit [*.net *.split]
cherti has quit [*.net *.split]
erectus has joined #foot
sevz has joined #foot
sentriz has joined #foot
boomboxnation has joined #foot
narodnik has joined #foot
NickH has joined #foot
lbia has joined #foot
andyrtr has joined #foot
diaspora3 has joined #foot
primalmotion has joined #foot
dustinm` has joined #foot
sterni has joined #foot
marliere has joined #foot
llyyr has joined #foot
midgard has joined #foot
switchy has joined #foot
kdk has joined #foot
bcheng has joined #foot
avane has joined #foot
sefidel has joined #foot
kaathewise has joined #foot
trav40371 has joined #foot
onjen has joined #foot
p00f has joined #foot
akspecs has joined #foot
rodrgz has joined #foot
SusanTheNerd has joined #foot
jmcantrell has joined #foot
tachi has joined #foot
xenrox has joined #foot
bookworm has joined #foot
alexander has joined #foot
jpp has joined #foot
mx08_ has joined #foot
rrogalski has joined #foot
baltazar has joined #foot
Arnavion has joined #foot
miko has joined #foot
ayushnix has joined #foot
ahesford has joined #foot
ollysmith_ has joined #foot
076AAK90M has joined #foot
Consolatis has joined #foot
ptrc has joined #foot
tkna has joined #foot
flowji has joined #foot
qyliss has joined #foot
sewn has joined #foot
gbrlsnchs has joined #foot
tommybomb has joined #foot
rselim has joined #foot
psnszsn has joined #foot
c7s has joined #foot
dekedro has joined #foot
leon-p has joined #foot
coder_kalyan has joined #foot
pvsr has joined #foot
lh has joined #foot
beerman has joined #foot
bapt has joined #foot
azerov has joined #foot
sugarbeet has joined #foot
rcf has joined #foot
emersion has joined #foot
alebastr has joined #foot
lanodan has joined #foot
ovf has joined #foot
luca has joined #foot
WhyNotHugo has joined #foot
hexa- has joined #foot
birger has joined #foot
noteness- has joined #foot
dutchie has joined #foot
kraftwerk28 has joined #foot
k-man has joined #foot
auri has joined #foot
manio has joined #foot
chymera has joined #foot
Arsen has joined #foot
init has joined #foot
novenary has joined #foot
lack has joined #foot
armin has joined #foot
trepatudo has joined #foot
bananicorn has joined #foot
Lord has joined #foot
Kabouik has joined #foot
zxtx has joined #foot
V has joined #foot
j`ey has joined #foot
jmjl has joined #foot
ChanServ has joined #foot
zar has joined #foot
cherti has joined #foot
sh1 has joined #foot
mckean has joined #foot
jknr has joined #foot
nicolai has joined #foot
Nuc1eoN has joined #foot
benbrown has joined #foot
chiselfuse has joined #foot
p00f has quit [*.net *.split]
SusanTheNerd has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
baltazar has quit [*.net *.split]
076AAK90M has quit [*.net *.split]
flowji has quit [*.net *.split]
rcf has quit [*.net *.split]
V has quit [*.net *.split]
cherti has quit [*.net *.split]
p00f has joined #foot
076AAK90M has joined #foot
SusanTheNerd has joined #foot
baltazar has joined #foot
jmcantrell has joined #foot
flowji has joined #foot
rcf has joined #foot
V has joined #foot
cherti has joined #foot
jmcantrell has quit [Max SendQ exceeded]
SusanTheNerd has quit [Max SendQ exceeded]
Hummer12007 has quit [Max SendQ exceeded]
cpli has quit [Max SendQ exceeded]
brocellous has quit [Max SendQ exceeded]
dooba has quit [Max SendQ exceeded]
c7s has quit [Ping timeout: 256 seconds]
psnszsn has quit [Ping timeout: 256 seconds]
tommybomb has quit [Ping timeout: 256 seconds]
p00f has quit [Ping timeout: 246 seconds]
gbrlsnchs has quit [Ping timeout: 256 seconds]
andrea has quit [Ping timeout: 262 seconds]
novakane has quit [Ping timeout: 262 seconds]
freed00m has quit [Ping timeout: 262 seconds]
ifreund has quit [Ping timeout: 262 seconds]
alexander has quit [*.net *.split]
manio has quit [*.net *.split]
k-man has quit [*.net *.split]
cat has quit [Max SendQ exceeded]
kaathewise has quit [Ping timeout: 276 seconds]
akspecs has quit [Ping timeout: 276 seconds]
coder_kalyan has quit [Ping timeout: 256 seconds]
dekedro has quit [Ping timeout: 256 seconds]
rselim has quit [Ping timeout: 256 seconds]
lh has quit [Ping timeout: 256 seconds]
ollysmith_ has quit [*.net *.split]
nicolai has quit [*.net *.split]
sh1 has quit [*.net *.split]
zar has quit [*.net *.split]
j`ey has quit [*.net *.split]
rockorager has quit [Read error: Connection reset by peer]
d4ve has quit [Read error: Connection reset by peer]
tachi has quit [Read error: Connection reset by peer]
leon-p has quit [Read error: Connection reset by peer]
dnkl has quit [Read error: Connection reset by peer]
geemili has quit [Read error: Connection reset by peer]
pvsr has quit [Write error: Connection reset by peer]
tkna has quit [Read error: Connection reset by peer]
rodrgz has quit [Read error: Connection reset by peer]
onjen has quit [Read error: Connection reset by peer]
alexander has joined #foot
manio has joined #foot
k-man has joined #foot
geemili has joined #foot
tkna has joined #foot
Hummer12007 has joined #foot
ollysmith_ has joined #foot
j`ey has joined #foot
zar has joined #foot
nicolai has joined #foot
sh1 has joined #foot
tommybomb has joined #foot
leon-p has joined #foot
dekedro has joined #foot
akspecs has joined #foot
gbrlsnchs has joined #foot
dnkl has joined #foot
cpli has joined #foot
rselim has joined #foot
lh has joined #foot
brocellous has joined #foot
kaathewise has joined #foot
onjen has joined #foot
rockorager has joined #foot
tachi has joined #foot
rodrgz has joined #foot
d4ve has joined #foot
SusanTheNerd has joined #foot
freed00m has joined #foot
p00f has joined #foot
psnszsn has joined #foot
coder_kalyan has joined #foot
c7s has joined #foot
ifreund has joined #foot
cat has joined #foot
pvsr has joined #foot
jmcantrell has joined #foot
novakane has joined #foot
dooba has joined #foot
andrea has joined #foot
erectus has quit [Ping timeout: 255 seconds]
erectus has joined #foot
kdk has quit [*.net *.split]
avane has quit [*.net *.split]
sefidel has quit [*.net *.split]
beerman has quit [*.net *.split]
birger has quit [*.net *.split]
Nuc1eoN has quit [*.net *.split]
jknr has quit [*.net *.split]
mckean has quit [*.net *.split]
mx08_ has quit [*.net *.split]
bookworm has quit [*.net *.split]
miko has quit [*.net *.split]
noteness- has quit [*.net *.split]
WhyNotHugo has quit [*.net *.split]
bananicorn has quit [*.net *.split]
benbrown has quit [*.net *.split]
lbia has quit [*.net *.split]
midgard has quit [*.net *.split]
llyyr has quit [*.net *.split]
ayushnix has quit [*.net *.split]
qyliss has quit [*.net *.split]
sewn has quit [*.net *.split]
sugarbeet has quit [*.net *.split]
dutchie has quit [*.net *.split]
Arsen has quit [*.net *.split]
diaspora3 has quit [*.net *.split]
dustinm` has quit [*.net *.split]
Consolatis has quit [*.net *.split]
trepatudo has quit [*.net *.split]
mx08_ has joined #foot
bookworm has joined #foot
WhyNotHugo has joined #foot
miko has joined #foot
noteness- has joined #foot
bananicorn has joined #foot
benbrown has joined #foot
diaspora3 has joined #foot
trepatudo has joined #foot
dustinm` has joined #foot
Consolatis has joined #foot
kdk has joined #foot
sefidel has joined #foot
beerman has joined #foot
avane has joined #foot
birger has joined #foot
Nuc1eoN has joined #foot
jknr has joined #foot
mckean has joined #foot
lbia has joined #foot
midgard has joined #foot
ayushnix has joined #foot
qyliss has joined #foot
llyyr has joined #foot
sewn has joined #foot
dutchie has joined #foot
sugarbeet has joined #foot
Arsen has joined #foot
ayushnix has quit [Max SendQ exceeded]
lbia has quit [Max SendQ exceeded]
ayushnix_ has joined #foot
lbia has joined #foot
marliere has quit [*.net *.split]
sterni has quit [*.net *.split]
switchy has quit [*.net *.split]
bcheng has quit [*.net *.split]
trav40371 has quit [*.net *.split]
Arnavion has quit [*.net *.split]
luca has quit [*.net *.split]
zxtx has quit [*.net *.split]
zxtx has joined #foot
marliere has joined #foot
sterni has joined #foot
switchy has joined #foot
bcheng has joined #foot
Arnavion has joined #foot
trav40371 has joined #foot
luca has joined #foot
marliere has quit [Max SendQ exceeded]
rbmarliere has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
sterni has quit [*.net *.split]
switchy has quit [*.net *.split]
bcheng has quit [*.net *.split]
trav40371 has quit [*.net *.split]
Arnavion has quit [*.net *.split]
luca has quit [*.net *.split]
zxtx has quit [*.net *.split]
ayushnix_ has quit [*.net *.split]
NickH has quit [*.net *.split]
azerov has quit [*.net *.split]
alebastr has quit [*.net *.split]
lanodan has quit [*.net *.split]
auri has quit [*.net *.split]
rbmarliere has quit [*.net *.split]
boomboxnation has quit [*.net *.split]
primalmotion has quit [*.net *.split]
ovf has quit [*.net *.split]
zxtx has joined #foot
Arnavion has joined #foot
rbmarliere has joined #foot
luca has joined #foot
bcheng has joined #foot
trav40371 has joined #foot
switchy has joined #foot
sterni has joined #foot
ayushnix_ has joined #foot
boomboxnation has joined #foot
NickH has joined #foot
primalmotion has joined #foot
azerov has joined #foot
lanodan has joined #foot
alebastr has joined #foot
ovf has joined #foot
auri has joined #foot
lanodan has quit [Max SendQ exceeded]
lanodan has joined #foot
erectus has quit [Ping timeout: 255 seconds]
erectus has joined #foot
ayushnix_ has quit [*.net *.split]
NickH has quit [*.net *.split]
azerov has quit [*.net *.split]
alebastr has quit [*.net *.split]
auri has quit [*.net *.split]
ayushnix_ has joined #foot
NickH has joined #foot
azerov has joined #foot
auri has joined #foot
alebastr has joined #foot
vyryls has joined #foot
vyryls has quit [Quit: WeeChat 4.2.0]
sentriz has quit [Ping timeout: 272 seconds]
sentriz has joined #foot
absinthium has joined #foot
<absinthium> Hello, I'm thinking about switching from Alacritty to foot, but I have two questions. Firstly, can you use --hold, --class, et cetera in foot?
<absinthium> And lastly, is there a vi(m) mode? ,':D
erectus has quit [Ping timeout: 255 seconds]
erectus has joined #foot
<luca> what would vim mode do?
<jpp> I don't really know what you mean by: vim mode?
geemili has quit [Remote host closed the connection]
ifreund has quit [Remote host closed the connection]
rodrgz has quit [Write error: Connection reset by peer]
SusanTheNerd has quit [Write error: Connection reset by peer]
c7s has quit [Write error: Broken pipe]
rselim has quit [Remote host closed the connection]
cpli has quit [Remote host closed the connection]
kaathewise has quit [Remote host closed the connection]
akspecs has quit [Remote host closed the connection]
rockorager has quit [Remote host closed the connection]
leon-p has quit [Write error: Connection reset by peer]
p00f has quit [Remote host closed the connection]
d4ve has quit [Remote host closed the connection]
coder_kalyan has quit [Remote host closed the connection]
tommybomb has quit [Remote host closed the connection]
brocellous has quit [Remote host closed the connection]
tachi has quit [Remote host closed the connection]
lh has quit [Write error: Broken pipe]
dekedro has quit [Write error: Broken pipe]
dnkl has quit [Remote host closed the connection]
dooba has quit [Remote host closed the connection]
Hummer12007 has quit [Remote host closed the connection]
freed00m has quit [Remote host closed the connection]
pvsr has quit [Remote host closed the connection]
novakane has quit [Remote host closed the connection]
tkna has quit [Remote host closed the connection]
gbrlsnchs has quit [Remote host closed the connection]
onjen has quit [Remote host closed the connection]
psnszsn has quit [Remote host closed the connection]
jmcantrell has quit [Write error: Broken pipe]
andrea has quit [Write error: Broken pipe]
cat has quit [Write error: Broken pipe]
tkna has joined #foot
Hummer12007 has joined #foot
geemili has joined #foot
cat has joined #foot
dooba has joined #foot
psnszsn has joined #foot
andrea has joined #foot
p00f has joined #foot
dnkl has joined #foot
cpli has joined #foot
freed00m has joined #foot
akspecs has joined #foot
c7s has joined #foot
gbrlsnchs has joined #foot
akspecs has quit [Changing host]
akspecs has joined #foot
leon-p has joined #foot
kaathewise has joined #foot
jmcantrell has joined #foot
onjen has joined #foot
coder_kalyan has joined #foot
dekedro has joined #foot
SusanTheNerd has joined #foot
lh has joined #foot
novakane has joined #foot
tommybomb has joined #foot
rockorager has joined #foot
brocellous has joined #foot
pvsr has joined #foot
tachi has joined #foot
d4ve has joined #foot
rodrgz has joined #foot
ifreund has joined #foot
rselim has joined #foot
SusanTheNerd has quit [Remote host closed the connection]
onjen has quit [Remote host closed the connection]
akspecs has quit [Remote host closed the connection]
dekedro has quit [Remote host closed the connection]
kaathewise has quit [Remote host closed the connection]
Hummer12007 has quit [Remote host closed the connection]
geemili has quit [Remote host closed the connection]
gbrlsnchs has quit [Remote host closed the connection]
tkna has quit [Remote host closed the connection]
psnszsn has quit [Remote host closed the connection]
tachi has quit [Remote host closed the connection]
brocellous has quit [Remote host closed the connection]
coder_kalyan has quit [Remote host closed the connection]
pvsr has quit [Remote host closed the connection]
c7s has quit [Remote host closed the connection]
andrea has quit [Remote host closed the connection]
cat has quit [Remote host closed the connection]
ifreund has quit [Remote host closed the connection]
cpli has quit [Remote host closed the connection]
jmcantrell has quit [Remote host closed the connection]
lh has quit [Remote host closed the connection]
rselim has quit [Remote host closed the connection]
d4ve has quit [Remote host closed the connection]
rockorager has quit [Remote host closed the connection]
freed00m has quit [Remote host closed the connection]
dooba has quit [Remote host closed the connection]
rodrgz has quit [Remote host closed the connection]
tommybomb has quit [Remote host closed the connection]
novakane has quit [Remote host closed the connection]
leon-p has quit [Remote host closed the connection]
dnkl has quit [Remote host closed the connection]
p00f has quit [Remote host closed the connection]
tkna has joined #foot
geemili has joined #foot
psnszsn has joined #foot
cpli has joined #foot
SusanTheNerd has joined #foot
rodrgz has joined #foot
dnkl has joined #foot
tommybomb has joined #foot
tachi has joined #foot
Hummer12007 has joined #foot
c7s has joined #foot
brocellous has joined #foot
gbrlsnchs has joined #foot
ifreund has joined #foot
novakane has joined #foot
freed00m has joined #foot
rockorager has joined #foot
onjen has joined #foot
dooba has joined #foot
pvsr has joined #foot
cat has joined #foot
dekedro has joined #foot
rselim has joined #foot
leon-p has joined #foot
akspecs has joined #foot
coder_kalyan has joined #foot
jmcantrell has joined #foot
kaathewise has joined #foot
d4ve has joined #foot
p00f has joined #foot
andrea has joined #foot
lh has joined #foot
<absinthium> alacritty has a "vi-mode" where you can move the cursor, select text, and yank it.
<absinthium> I'm assuming that's a no, though.
<luca> afaik no, but tmux has something similar you might want to check out
<absinthium> No to the --class/--hold as well?
<luca> no idea what those are and I'm not near a computer to check
alexherbo2 has joined #foot
<absinthium> Arguments to pass to a program when opened with foot.
<j`ey> that was obvious, what they do is less so
<bookworm> class sets the x11 class so that you can tag it with say your WM. The other no idea
rrogalski has quit [Ping timeout: 255 seconds]
rrogalski has joined #foot
<dutchie> absinthium: yes, there's an --app-id/-a option to set the app_id (wayland equivalent of class), and a -H/--hold option to keep foot open after the child exits
<dutchie> https://codeberg.org/dnkl/foot/src/branch/master/doc/foot.1.scd is the full man page with all the options
<dnkl> they're even in the --help output...
<dnkl> not sure how you can not find them
<absinthium> dnkl: If you read my first question then you'd see.
<absinthium> "I'm *thinking* about switching [...]". Hence, I have not yet.
<j`ey> you could have already had it installed without switching to it :P
<dnkl> when I'm considering switching some application, I try to do at least some research myself, before asking questions. It's the decent thing to do.
<absinthium> How do you think I found myself to a small IRC server for a small terminal emulator? I didn't read the man page, but I did *some* research. However, I don't fancy a debate over pre-installation etiquette.
<dnkl> absinthium: sorry, just realized the confusion comes from the fact that the sr.ht bouncer must have been offline for a short while
<dnkl> I didn't see your first questions
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
sentriz has quit [Ping timeout: 256 seconds]
sentriz has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
076AAK90M is now known as cc0
<rockorager> dnkl: I've found a small bug related to grapheme clustering and width calcs
bananicorn has quit [Remote host closed the connection]
<cc0> dnkl: i don't really see the use case for getting the current app ID (an app that wants to set it should just set it, i don't want to see apps do if id != get_id(); set_id(id) )
<rockorager> It is the same as this report I made for uniseg yesterday: https://github.com/rivo/uniseg/issues/50
<cc0> but i can add it to the spec, i dont mind
<cc0> do you have a use case in mind or was it just because it was easy to do? :-)
<rockorager> cc0: I think the use case is so an app can get the original and set it back after it closes
bananicorn has joined #foot
<rockorager> dnkl: you can reproduce this in foot with `echo -e x\fe0fx
narodnik has quit [Read error: Connection reset by peer]
<cc0> ah... i see
<rockorager> The output will be `x x` but should be `xx`
<cc0> like the issue i have with the cursor style, where i cant reset it because i cant get the previous value
narodnik has joined #foot
<dnkl> cc0: there's a lot of things that really should be push/pop based...
<dnkl> for cursor, your best option is probably the "se" terminfo feature
<dnkl> cc0: there's also DECRQSS that allows you to query the cursor style
<dnkl> but not that many emulator implement it
<dnkl> (foot does)
<dnkl> rockorager: not sure we have enough data in foot to determine that... unless there's a very finite amount of codepoints that are effected by the selector
<rockorager> Finite but not very finite
<rockorager> VS16 specifically only modifies emoji
<rockorager> This case is likely very rare - it only came to my attention through intentionally mangled input in aerc
<dnkl> rockorager: I only see a couple of implementation variants
<dnkl> we could whitelist an easily recognized subset of allowed emojis
<dnkl> or, we could blacklist e.g. ASCII characters (not really good enough)
<dnkl> if none of the above works, then I only see a data driven approach were we pre-process the unicode database to extract a searchable table with the allowed emojis
<dnkl> I'm not sure this problem is worth the complexity of the last variant...
<rockorager> I would agree it's not worth the complexity
<rockorager> Are you using a library for clustering?
<rockorager> I'm suprised you don't already have information on the codepoint available?
<rockorager> I do think the whitelist is a better approach
<rockorager> (If you care to fix at all...like I said this is a somewhat pathological case)
<dnkl> rockorager: I currently use utf8proc
<dnkl> it apparently considers the selector to belong to the same grapheme as the previous codepoint, regardless of what it is 🤔
<rockorager> I think that is correct, it's just that the grapheme width shouldn't be affected unless it's an emoji
<dnkl> hmm, or maybe it considers it as a separate grapheme with width == 1?
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
<rockorager> Oh - that's possible
<dnkl> no, it considers it part of the grapheme
<dnkl> (just tested)
<rockorager> I think the behavior is that it is part of the grapheme, and it only modifies variation when it's an emoji. Otherwise it is ignored
<rockorager> correct behavior*
<rockorager> and then, only certain emoji (when it has a text presentation as a possibility)
<rockorager> You wouldn't want U+FE0F sitting in some cell, then print a text presentation next to it and have it magically turn into a color emoji
<dnkl> this is kind of ugly, but might still be acceptable...
<dnkl> diff --git a/vt.c b/vt.c
<dnkl> +++ b/vt.c
<dnkl> --- a/vt.c
<dnkl> index 7529f302..244fbb92 100644
<dnkl> break;
<dnkl> @@ -850,7 +850,7 @@ action_utf8_print(struct terminal *term, char32_t wc)
<dnkl>
<dnkl> case GRAPHEME_WIDTH_DOUBLE:
<dnkl> - if (unlikely(wc == 0xfe0f))
<dnkl> + if (unlikely(wc == 0xfe0f && new_cc->count == 2 && !((new_cc->chars[0] >= 'a' && new_cc->c
<dnkl> hars[0] <= 'z') || (new_cc->chars[0] >= 'A' && new_cc->chars[0] <= 'Z'))))
<dnkl> width = 2;
<dnkl> new_cc->width = min(grapheme_width + width, 2);
<dnkl> break;
<dnkl> since foot doesn't implement ligatures, a lone U+FE0F will not affect neighbouring characters
<rockorager> Oof
<rockorager> utf8proc_get_property can get you the class of the codepoint it looks like
<rockorager> Then you could see if the boundclass is extended pictographic
<rockorager> Not sure how much overhead that causes
<dnkl> I can test it. Not sure if the legacy emojis that are affected by VS16 are classified as extended pictographics though...
<rockorager> Ah
<dnkl> seems to work though (tested with 'x', and U+263A - WHITE SMILING FACE)
<rockorager> Nice
<dnkl> I'll have to test it a bit more before merging, but it looks promising
<rockorager> dnkl: thanks for the quick fix
<dnkl> cc0: re. cursors and DECRQSS; you can test it with "printf '\eP$q q'"
alexherbo2 has quit [Remote host closed the connection]
newchair has joined #foot
h-erectus has joined #foot
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
absinthium has left #foot [#foot]
h-erectus has quit [Ping timeout: 255 seconds]