dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.10.3 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
Consolatis_ has joined #foot
Consolatis has quit [Killed (calcium.libera.chat (Nickname regained by services))]
Consolatis_ is now known as Consolatis
lanodan has quit [Ping timeout: 240 seconds]
lanodan has joined #foot
an3223 has quit [Ping timeout: 276 seconds]
an3223 has joined #foot
<krobelus> URL mode is really nice. I was wondering, is there a way to select arbitrary text with the keyboard? Can I pipe the (end of the) scrollback buffer into my editor?
<krobelus> Scrollback search works most of the time I guess
radu242407821 has joined #foot
radu242407821 has quit [Quit: The Lounge - https://thelounge.chat]
radu242407821 has joined #foot
radu242407821 has quit [Read error: Connection reset by peer]
radu242407821 has joined #foot
<dnkl> krobelus: there's pipe-visible. It's unbound by default, but allows you to pipe the currently visible part of the scrollback to an arbitrary command
<dnkl> There's no other way than scrollback search to select text with the keyboard, though it'll likely be extended in the future: https://codeberg.org/dnkl/foot/issues/419
an3223 has quit [Remote host closed the connection]
caveman__ has joined #foot
kevr has quit [Remote host closed the connection]
kevr has joined #foot
caveman__ has quit [Ping timeout: 276 seconds]
caveman__ has joined #foot
caveman__ has quit [Ping timeout: 276 seconds]
<dnkl> fcft-3.0.0 and foot-1.11.0 incoming...
<novakane> nice \o/
dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.11.0 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
<novakane> Updating everything I see I really have too much fcft version on my setup, on installed from void package, one build from source, one as a subproject for foot :P
<dnkl> novakane: I always develop against fcft as a subproject... so I have lots and lots of fcft copies...
<novakane> yeah I imagine, though I don't think I even use the one from the distro package
<sterni> dnkl: hmm partial PGO is now failing compile, complaining about missing profiling data for test-config.c? a bit strange since that's the test suite?!
<sterni> ah I probably just need to invoke it once
<dnkl> sterni: yup, that's it
<dnkl> (just tested the pgo.sh script, and it works)
<dnkl> (and does just that - execute the tests)
<sterni> yeah the nixpkgs package doesn't use that
<sterni> will there be an fnott release in the next days as well?
radu242407821 has quit [Quit: The Lounge - https://thelounge.chat]
<sterni> oh lol there already is
radu242407821 has joined #foot
<dnkl> sterni: and yambar, and fuzzel 😅
<sterni> yes!
<sterni> only fnott were I was quicker than you
<dnkl> (which is why this release cycle was long - I wanted to sync all releases. Also needed at least half a day to actually _make_ all the releases)
<dnkl> sterni: saw your nix PR; that was very fast :D
<sterni> it's very much appreciated, this was extremely painless
<sterni> lucky that we don't package any consumers where upstream is not you :D
<dnkl> yeah, I know of a couple fcft users, but it's pretty unusual
<sterni> actually surprised that we haven't packaged anything using it
<sterni> nixpkgs tends to have obscure new software using the latest things :)
<dnkl> it might get more users when I add utf-8 support. Being UTF-32 only makes it more difficult to use, apparently :)
<sterni> hmm, but as soon you need to line breaks and such you'd need UTF 32 anyway for the splitting algorithms?
<sterni> I guess you could accumulate such stuff into fcft
<sterni> you already half depend on utf8proc anyways
<novakane> all good all clean now :P https://sr.ht/~novakane/zig-fcft/sources
<dnkl> sterni: we already do that in the text-run rasterize function. In any case, the utf-8 versions will simply convert the input to utf-32, and then call the existing utf-32 variants. Simple :)
<ericonr> Wouldn't that make allocations necessary for the converted buffer?
<dnkl> ericonr: temporary ones, yes. But the glyph struct doesn't contain any back-references into the string
<dnkl> the text-run struct does have the 'cluster' member, which contains indices. Those will of course be invalid for the UTF-8 string. But here we can perhaps just set 'cluster' to NULL
* dnkl was going to flag the arch packages as out-of-date, but someone else beat him to it
avane has quit [Quit: o/]
avane has joined #foot
<ericonr> dnkl: hm I see, that sounds ok
ifreund has joined #foot
<dnkl> sterni: re. fcft-3, beware of https://codeberg.org/dnkl/fcft/issues/47
<krobelus> For selecting text with keyboard: I prefer using my editor, since I'm already used to that (why learn new keybindings?). I don't really like Emacs keybindings for navigating scrollback (the tmux default).
<krobelus> pipe-visible=[sh -c "cat > /tmp/scrollback; foot kak +: /tmp/scrollback"] Control+Shift+p
<krobelus> seems to work pretty well; time will tell
<sterni> dnkl: just going to apply the patch tomorrow?!
<dnkl> sterni: 3.0.1 is out anyway; easier to bump the PR to use that one instead 🙂
<sterni> ah okay!
<sterni> done
<Arnavion> dnkl: FYI, in https://codeberg.org/dnkl/foot/releases the README.md::XTGETTCAP link is broken
<dnkl> Arnavion: thanks, updated
<dnkl> looks like foot is getting into gentoo proper: https://github.com/gentoo/gentoo/pull/24067
<ifreund> nice :)
Nulo has quit [Remote host closed the connection]
<Arnavion> dnkl: Is there a way to not build tests? I didn't see any options in meson.build / meson_options.txt / tests/meson.build
<dnkl> Arnavion: no, that's currently not possible. Do you need a way to disable them?
<Arnavion> It wouldn't hurt. I have to add more build deps to get it to compile the lib even though only the tests need it
<Arnavion> compile the bin*
<dnkl> Which deps? It shouldn't need anything foot itself doesn't need
<Arnavion> Actually hmm