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
bcheng has quit [Remote host closed the connection]
bcheng has joined #foot
mcepl has joined #foot
<mcepl> Is there somewhere theme which would be similarly minimalist in Plan9 tradition which would look like https://is.gd/k03Lfr? I found https://paste.opensuse.org/pastes/1b13fede5254 but it doesn't work very well.
<mcepl> Does anybody know about something better?
erectus has quit [Ping timeout: 260 seconds]
ayushnix has quit [Read error: Connection reset by peer]
ayushnix has joined #foot
erectus has joined #foot
primalmotion has quit [Read error: Connection reset by peer]
primalmotion has joined #foot
alexander has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
alexander has joined #foot
h-erectus has joined #foot
boomboxnation has quit [Ping timeout: 252 seconds]
boomboxnation has joined #foot
erectus has quit [Ping timeout: 260 seconds]
<dnkl> rockorager: interresting observation; for me, shift+space *does* set shift as consumed. Both in plain us and se layouts
<dnkl> unfortunately, ignoring modifiers wont work - xkb returns text for e.g. ctrl+space
h-erectus has quit [Ping timeout: 260 seconds]
<dnkl> not really related, but I think we should drop the hardcoded caps-lock, and instead mask out "locked" modifiers, as reported by xkb
<dnkl> rockorager: funny thing: shift+space treats shift as consumed when NumLock is disabled, but when NumLock is *enabled*, shift isn
<dnkl> isn't consumed
<dnkl> if that isn't a keymap bug, I don't know what it is...
<dnkl> hmm, the mode flag in xkb_state_key_get_consumed_mods2() affects this
<dnkl> I've been using the GTK mode for the kitty keyboard protocol, because "it better matches kitty" (my own comment)
<dnkl> switching to "XKB" mode "fixes" shift+space - it is reported as text regardless of NumLock
<dnkl> so, I guess we'll have to compare a bunch of key combos with kitty, and if there are differences, see if they are backed by the specification or not.
<dnkl> code would be simpler if we could drop the GTK mode for kitty
erectus has joined #foot
erectus has quit [Read error: Connection reset by peer]
<dnkl> kitty has a similar issue, where backspace is reported as text when NumLock is off, but as an escape sequence when it's on
<dnkl> rockorager: I _think_ https://codeberg.org/dnkl/foot/pulls/1627 is what we want
<dnkl> it needs a bit more testing though, both in plain disambiguate mode, but also other combinations of kitty kbd flags
erectus has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
erectus has quit [Quit: erectus]
erectus has joined #foot
<sewn> what was the development goal of fcft, to replace the need for pango and cairo?
rrogalski has quit [Quit: Quit: Dog probably tripped over power cord again.]
rrogalski has joined #foot
narodnik has quit [Quit: WeeChat 4.2.1]
__jmcantrell__ has joined #foot
jmcantrell is now known as Guest7426
Guest7426 has quit [Killed (silver.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #foot
narodnik has joined #foot
<dnkl> sewn: fast text rendering for foot
<dnkl> ligatures and other more advanced features came later, when I started using fcft in my other projects
narodnik has quit [Quit: WeeChat 4.2.1]
jmcantrell has quit [Quit: WeeChat 4.2.1]
jmcantrell_ is now known as jmcantrell
<sewn> we're there any benchmarks made regarding the performance differences?
__jmcantrell__ has joined #foot
__jmcantrell__ has quit [Client Quit]
<dnkl> the difference was so big that no actual benchmarks were needed.
<sewn> oh come on you need statistics to back up your claims
<sewn> i do have to wonder why the example is so big
<sewn> it looks like a demo rather than an example
narodnik has joined #foot
<ifreund> most of it is just wayland boilerplate
<ifreund> I for one am absolutely not surprised that cairo/pango are slow af
<sewn> ifreund: yeah it is a demo
<sewn> it is a bit complicated for a demo though
<sewn> referring to the text rendering
<sewn> eg. why are there many ways to render text if one of them seems to do the best (renders everything correctly, fcft_rasterize_text_run_utf32)
<sewn> ifreund: how is cairo/pango slow af?
<sewn> a dmenu-like program for wayland called wmenu seems to be quite fast
<ifreund> sewn: text run shaping requires significantly more complex dependencies for one
<ifreund> also rendering single glyphs is pretty important for a terminal emulator
<sewn> hm makes sense
<ifreund> also, as far as "complicated" goes. Have you even looked at the pango headers?
<sewn> complicated as in the user implementation side, not the library iteslf
<sewn> but yeah i can see that pango and cairo can be very complicated, since it does alot of things
<j`ey> would be nice to split out the wayland stuff from that example..
erectus has quit [Ping timeout: 260 seconds]
erectus has joined #foot
<novakane> I mean you kinda just need to look at render_* function, that's seems easy enough too me
<sewn> yea
<novakane> as someone who have used fcft quite often it's really well documented and quick to get it honestly
erectus has quit [Ping timeout: 260 seconds]
erectus has joined #foot
erectus has quit [Ping timeout: 260 seconds]
erectus has joined #foot
<sewn> what was the origin behind the name of fnott?
erectus has quit [Remote host closed the connection]
erectus has joined #foot
<rockorager> dnkl: that is wild that numlock affects shift consumption...
ayushnix has quit [Read error: Connection reset by peer]
<rockorager> I'll run with that patch for a bit and see if rjarry will too to get some more testing on it
<rockorager> Thanks
rjarry has joined #foot
<rjarry> will test it for a few days
ayushnix has joined #foot
<rockorager> dnkl: do I have this correct: with numlock enabled and gtk mode, this shift + space didn’t report any text?
<rockorager> using gtk, this reports text and *also* that shift wasn’t consumed
<rockorager> curious if gtk is adding the text reporting bit on top of what xkb reports
<dnkl> rockorager: first, GTK isn't really a part of this. It's just a mode XKB implements when translating keyboard state into "consumed" modifiers. Just wanted to make that clear
<dnkl> but yeah, in that mode, the set of consumed modifiers differs for shift+space depending on whether numlock is enabled or not
<dnkl> xkb gives you text back in both cases, but foot decided it wasn't text *only* when shift wasn't included in the "consumed" set
<dnkl> because then the consumed set didn't cancel out the "effective" set.
<sewn> does foot artificially dim the colors when SGR 2 is provided?
<sewn> or does it use the 'dim' color set (90-100 afaik)
<sewn> so yes, thanks
boomboxnation has quit [Ping timeout: 268 seconds]
boomboxnation has joined #foot
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
emcconville has joined #foot
emcconvi- has quit [Ping timeout: 268 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
chiselfuse has quit [Ping timeout: 260 seconds]
chiselfuse has joined #foot
cc0_delthas has quit [Remote host closed the connection]
cc0_delthas has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
Biolunar has quit [Quit: brb]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
sgm has quit [Remote host closed the connection]
sgm has joined #foot
baltazar has quit [Quit: Lost terminal]
baltazar has joined #foot
boomboxnation has quit [Quit: WeeChat 4.2.1]
boomboxnation has joined #foot
Biolunar has joined #foot
lack has joined #foot
lack has quit [Read error: Connection reset by peer]
lack has joined #foot