dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.20.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
jmcantrell has quit [*.net *.split]
aktina has quit [*.net *.split]
erock has quit [*.net *.split]
diaspora3928 has quit [*.net *.split]
constxd has quit [*.net *.split]
puida has quit [*.net *.split]
delthas has quit [*.net *.split]
Lord has quit [*.net *.split]
boomboxnation has quit [*.net *.split]
kdk has quit [*.net *.split]
dustinm` has quit [*.net *.split]
lindsay has quit [*.net *.split]
manio has quit [*.net *.split]
flowji has quit [*.net *.split]
mrt442n has quit [*.net *.split]
kasimir_ has quit [*.net *.split]
j`ey has quit [*.net *.split]
toast has quit [*.net *.split]
rcf has quit [*.net *.split]
baltazar has quit [*.net *.split]
ynakao has quit [*.net *.split]
MyNetAz has quit [*.net *.split]
vyryls has quit [*.net *.split]
chimo has quit [*.net *.split]
strom has quit [*.net *.split]
bapt has quit [*.net *.split]
cherti has quit [*.net *.split]
hovsater has quit [*.net *.split]
haasn has quit [*.net *.split]
ninewise has quit [*.net *.split]
xenrox has quit [*.net *.split]
lanodan has quit [*.net *.split]
sterni has quit [*.net *.split]
benbrown has quit [*.net *.split]
novenary has quit [*.net *.split]
V has quit [*.net *.split]
orahcio has quit [*.net *.split]
OtzmaVindicus has quit [*.net *.split]
chiselfuse has quit [*.net *.split]
an3223 has quit [*.net *.split]
mtm has quit [*.net *.split]
birdisword has quit [*.net *.split]
tachi has quit [*.net *.split]
d4ve has quit [*.net *.split]
rodrgz has quit [*.net *.split]
brocellous has quit [*.net *.split]
freed00m has quit [*.net *.split]
dooba has quit [*.net *.split]
ollysmith has quit [*.net *.split]
Kabouik has quit [*.net *.split]
banna has quit [*.net *.split]
chymera has quit [*.net *.split]
birger has quit [*.net *.split]
bitblt has quit [*.net *.split]
dnkl has quit [*.net *.split]
Guest2720 has quit [*.net *.split]
midgard has quit [*.net *.split]
ericonr has quit [*.net *.split]
jutty has quit [*.net *.split]
rockorager has quit [*.net *.split]
tel2 has quit [*.net *.split]
jramsay has quit [*.net *.split]
trygveaa has quit [*.net *.split]
qyliss has quit [*.net *.split]
dutchie has quit [*.net *.split]
ptrc has quit [*.net *.split]
ifreund has quit [*.net *.split]
andrea has quit [*.net *.split]
leverarch has quit [*.net *.split]
psnszsn has quit [*.net *.split]
dekedro has quit [*.net *.split]
onjen has quit [*.net *.split]
novakane has quit [*.net *.split]
pvsr has quit [*.net *.split]
f_ has quit [*.net *.split]
sugarbeet has quit [*.net *.split]
moxie has quit [*.net *.split]
Consolatis has quit [*.net *.split]
sefidel has quit [*.net *.split]
w1kl4s has quit [*.net *.split]
sevz has quit [*.net *.split]
andyrtr has quit [*.net *.split]
WhyNotHugo has quit [*.net *.split]
kode54 has quit [*.net *.split]
ciara has quit [*.net *.split]
rnd has quit [*.net *.split]
hexa- has quit [*.net *.split]
alebastr has quit [*.net *.split]
zar_ has quit [*.net *.split]
zxtx has quit [*.net *.split]
jmjl has quit [*.net *.split]
vyivel has quit [*.net *.split]
emcconville has quit [*.net *.split]
runxiyu has quit [*.net *.split]
bookworm has quit [*.net *.split]
Arsen has quit [*.net *.split]
anarcat has quit [*.net *.split]
__toor__ has quit [*.net *.split]
avane has quit [*.net *.split]
cryne7 has quit [*.net *.split]
azerov has quit [*.net *.split]
beerman has quit [*.net *.split]
bcheng has quit [*.net *.split]
mesaoptimizer has quit [*.net *.split]
ChanServ has quit [*.net *.split]
ursa-major has quit [Ping timeout: 240 seconds]
tkna has quit [Ping timeout: 240 seconds]
cpli has quit [Ping timeout: 240 seconds]
SusanTheNerd2 has quit [Ping timeout: 240 seconds]
rselim has quit [Ping timeout: 240 seconds]
cpli has joined #foot
Guest2720 has joined #foot
bitblt has joined #foot
midgard has joined #foot
ericonr has joined #foot
dnkl has joined #foot
toast has joined #foot
MyNetAz has joined #foot
boomboxnation has joined #foot
tkna_ has joined #foot
mrt442n has joined #foot
orahcio has joined #foot
kdk has joined #foot
baltazar has joined #foot
ninewise has joined #foot
chimo has joined #foot
dustinm` has joined #foot
lindsay has joined #foot
chiselfuse has joined #foot
delthas has joined #foot
OtzmaVindicus has joined #foot
ynakao has joined #foot
manio has joined #foot
an3223 has joined #foot
xenrox has joined #foot
bapt has joined #foot
vyryls has joined #foot
flowji has joined #foot
sterni has joined #foot
benbrown has joined #foot
lanodan has joined #foot
cherti has joined #foot
kasimir_ has joined #foot
j`ey has joined #foot
hovsater has joined #foot
novenary has joined #foot
haasn has joined #foot
V has joined #foot
rcf has joined #foot
ursa-major has joined #foot
rselim has joined #foot
dooba has joined #foot
ursa-major has quit [Max SendQ exceeded]
Lord has joined #foot
constxd has joined #foot
jmcantrell has joined #foot
puida has joined #foot
aktina has joined #foot
diaspora3928 has joined #foot
erock has joined #foot
tkna_ is now known as tkna
MyNetAz has quit [Write error: Connection reset by peer]
SusanTheNerd2 has joined #foot
rockorager has joined #foot
jutty has joined #foot
jramsay has joined #foot
tel2 has joined #foot
trygveaa has joined #foot
d4ve has joined #foot
birdisword has joined #foot
brocellous has joined #foot
rodrgz has joined #foot
tachi has joined #foot
freed00m has joined #foot
banna has joined #foot
ollysmith has joined #foot
Kabouik has joined #foot
chymera has joined #foot
birger has joined #foot
andyrtr has joined #foot
zar_ has joined #foot
zxtx has joined #foot
kode54 has joined #foot
rnd has joined #foot
ciara has joined #foot
hexa- has joined #foot
alebastr has joined #foot
mtm has joined #foot
WhyNotHugo has joined #foot
akspecs has quit [Max SendQ exceeded]
cryne7 has joined #foot
mesaoptimizer has joined #foot
beerman has joined #foot
bcheng has joined #foot
azerov has joined #foot
akspecs has joined #foot
jmcantrell has quit [Max SendQ exceeded]
jmcantrell has joined #foot
vyivel has joined #foot
emcconville has joined #foot
jmjl has joined #foot
runxiyu has joined #foot
avane has joined #foot
anarcat has joined #foot
__toor__ has joined #foot
bookworm has joined #foot
Arsen has joined #foot
OtzmaVindicus has quit [Ping timeout: 264 seconds]
MyNetAz has joined #foot
hexa- has quit [Ping timeout: 244 seconds]
orahcio has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hexa- has joined #foot
jmcantrell has quit [Ping timeout: 260 seconds]
dutchie has joined #foot
ptrc has joined #foot
qyliss has joined #foot
andrea has joined #foot
ifreund has joined #foot
dekedro has joined #foot
pvsr has joined #foot
leverarch has joined #foot
psnszsn has joined #foot
novakane has joined #foot
onjen has joined #foot
f_ has joined #foot
sugarbeet has joined #foot
moxie has joined #foot
Consolatis has joined #foot
w1kl4s has joined #foot
sevz has joined #foot
sefidel has joined #foot
MyNetAz has quit [Write error: Broken pipe]
ChanServ has joined #foot
hexa- is now known as Guest8910
OtzmaVindicus has joined #foot
strom has joined #foot
onjen has quit [Max SendQ exceeded]
onjen has joined #foot
MyNetAz has joined #foot
ursa-major has joined #foot
orahcio has joined #foot
Guest8910 has quit [Quit: WeeChat 4.4.3]
hexa- has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
orahcio has quit [Changing host]
orahcio has joined #foot
jmcantrell has joined #foot
jmcantrell has quit [Ping timeout: 244 seconds]
jmcantrell has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
orahcio has quit [Ping timeout: 252 seconds]
jmcantrell has quit [Ping timeout: 248 seconds]
jmcantrell has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
jmcantrell has quit [Quit: WeeChat 4.5.2]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
mtm has quit [Ping timeout: 244 seconds]
mtm has joined #foot
Biolunar has quit [Quit: brb]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<ovf> okay, i now realise that foot is absolutely horrible, the worst terminal emulator ever. it's just way faster/less janky than everything else! i did most of my readline development in foot, where everything works (almost) perfectly, and now testing with others i see a lot of slowdowns and general jank.
<ovf> (and those are the ones marketed as "modern"/"fast" -- sure maybe they can blit glyphs quick enough, but they're terminal emulators, not layout engines, so they also gotta do actual terminal emulator stuff fast, and it looks like only foot does)
<dnkl> 😂 thanks, and sorry to hear
<dnkl> I believe what most terminals mean when they say "fast" us throughput. I try to make foot both fast (in that sense) while still keeping it low-latency
danyal has joined #foot
Biolunar has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<delthas> lol
boomboxnation has quit [Read error: Connection reset by peer]
<ovf> yep, what i did is definitely very latency sensitive (it basically redraws everything in full lock-step). but still i didn't expect to get to unusable slowdowns _before_ ssh enters the picture. :-)
<ovf> (and i'm talking about tens of characters on the screen, not gigabytes)
boomboxnation has joined #foot
orahcio has joined #foot
wael has quit [Ping timeout: 260 seconds]
wael has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
<ovf> dnkl: i _think_ i've found another clustering-related bug, and this time even with a non-flag emoji. but i'm struggling with minimising the reproducer. i've got it down to a 70byte string, sorry! 6161f09fa7910d1b5b32431b5b304bf09fa791f09f8fbe0d1b5b32431b5b304bf09fa791f09f8fbee2808d0d1b5b32431b5b304bf09fa791f09f8fbee2808de29da41b5b366e
<ovf> at the end of this foot reports position 4, which i think is wrong. e.g. ghostty says 5
<dnkl> can you convert that to a printf string I can copy?
boomboxnation has joined #foot
<ovf> printf "\x61\x61\xf0\x9f\xa7\x91\x0d\x1b\x5b\x32\x43\x1b\x5b\x30\x4b\xf0\x9f\xa7\x91\xf0\x9f\x8f\xbe\x0d\x1b\x5b\x32\x43\x1b\x5b\x30\x4b\xf0\x9f\xa7\x91\xf0\x9f\x8f\xbe\xe2\x80\x8d\x0d\x1b\x5b\x32\x43\x1b\x5b\x30\x4b\xf0\x9f\xa7\x91\xf0\x9f\x8f\xbe\xe2\x80\x8d\xe2\x9d\xa4\x1b\x5b\x36\x6e"
<ovf> context: this is a simulation of the beginning of my readline writing 🧑🏾‍❤️‍💋‍🧑🏻 (reportedly the longest unicode grapheme cluster at 10 codepoints)
<ovf> this happens specifically if there is some stuff to the left and nothing to the right
fitrh has joined #foot
jmcantrell has joined #foot
<dnkl> ovf: haven't looked at it much, but why do you expect 5? You're writing two 'a', and then the beginning of the emoji?
<dnkl> oh, and that would make the cursor position 5, since it's 1-based
<dnkl> got you
<ovf> dnkl: the shorter prefixes (which are in the middle of the string here) all report 5. probably shouldn't have taken out those requests when minimising. the basic idea of what that line is doing is: i iteratively go to the space after the two 'a's, wipe everything to the right, and write a prefix of that emoji. i get 5 on the first two codepoints, but then something gets funky in foot's state and i get 4 on the third iteration
<ovf> perhaps i'm not clearing the state correctly with \e[0K?
<dnkl> the issue is that after printing the ZWJ, you move the cursor *2* spaces to the right (after CR)
<dnkl> it looks like an issue in foot, as you said
<ovf> yep, two spaces to the right is just after the second 'a', correct?
<ovf> also perhaps i shouldn't do absolute positioning with \r + move right?
<ovf> *absolute horizontal positioning
jmcantrell has quit [Ping timeout: 260 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
jmcantrell has joined #foot
<dnkl> ovf: need to spend a bit more time, but I suspect the issue is that the clustering state isn't reset when you move the cursor. At some point, this causes the start of the long emoji to be considered part of the *previous* cell (i.e. cell 1)
<dnkl> we should probably reset the clustering state on *all* cursor movements
boomboxnation has joined #foot
<ovf> yep, that seems to match what i'm seeing. thanks!
fitrh has quit [Ping timeout: 240 seconds]
boomboxnation-1 has joined #foot
boomboxnation-1 has quit [Ping timeout: 252 seconds]
boomboxnation-1 has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
mesaoptimizer has quit [Quit: WeeChat 4.0.4]
mesaoptimizer has joined #foot
<rockorager> dnkl: https://github.com/ghostty-org/ghostty/discussions/6067 for some discussion on a possible pointer source mode
orahcio has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has quit [Ping timeout: 244 seconds]
boomboxnation-1 has joined #foot
jmcantrell has quit [Ping timeout: 272 seconds]
boomboxnation-1 has quit [Ping timeout: 252 seconds]
jmjl has quit [Remote host closed the connection]
jmjl has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
danyal has quit [Quit: WeeChat 4.5.2]
an3223 has quit [Remote host closed the connection]
boomboxnation has joined #foot
an3223 has joined #foot
jmcantrell has joined #foot
jmcantrell has quit [Quit: WeeChat 4.5.2]
jmcantrell has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
OtzmaVindicus has quit [Quit: levaya]
OtzmaVindicus has joined #foot
OtzmaVindicus has quit [Quit: levaya]
OtzmaVindicus has joined #foot
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
OtzmaVindicus has quit [Quit: levaya]
OtzmaVindicus has joined #foot
boomboxnation has joined #foot
jmcantrell has quit [Ping timeout: 248 seconds]
orahcio has joined #foot
OtzmaVindicus has quit [Quit: levaya]
OtzmaVindicus has joined #foot
OtzmaVindicus has quit [Quit: levaya]
OtzmaVindicus has joined #foot