dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.12.1 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
radu242 has quit [Ping timeout: 245 seconds]
radu242 has joined #foot
talismanick has quit [Ping timeout: 245 seconds]
Pound_Hash has quit [Quit: Pound_Hash]
talismanick has joined #foot
talismanick is now known as Guest3945
Guest3945 has quit [Client Quit]
alismanickt has joined #foot
caveman has quit [Remote host closed the connection]
radu242 has quit [Ping timeout: 268 seconds]
caveman has joined #foot
Pound_Hash has joined #foot
alismanickt has quit [Ping timeout: 240 seconds]
Pound_Hash has quit [Quit: Pound_Hash]
amy_ has joined #foot
amy_ has quit [Client Quit]
caveman has quit [Write error: Connection reset by peer]
caveman has joined #foot
<dviola> this might be a silly question but is there a config option in foot to highlight the whole width of the terminal when clicking twice on a line of text (in the terminal)?
<dviola> currently it highlights the text only, that's ok but I was wondering if it's possible to highlight the whole terminal
<dviola> whole terminal width
vipulogmx has quit [Ping timeout: 255 seconds]
cvmn has joined #foot
<dnkl> dviola: no, there's no such option
<dviola> dnkl: np
cvmn has quit [Ping timeout: 268 seconds]
noteness has quit [Remote host closed the connection]
noteness has joined #foot
hpfr has quit [Quit: You have been kicked for being idle]
caveman has quit [Ping timeout: 268 seconds]
vipulogmx has joined #foot
caveman has joined #foot
ngortheone has joined #foot
<ngortheone> Hello, I am using foot server with a bunch of footclients, when I change colorscheme in the config file how do I make foot server reload it without quitting? (I want to prevent all clients from being closed)
gbrlsnchs has quit [Read error: Connection reset by peer]
<novakane> ngortheone: there is no way to reload a foot server instance
<sochotnicky> but the color scheme can be tweaked by redirecting escape sequences to PTYs apparently. I don't have the logs at the ready but dnkl was pointing it out not too long ago...
talismanick has joined #foot
<novakane> yep although I'm not sure if it changes all foot instances colors, never tried it
<sochotnicky> novakane: the point is you run something like -> echo "escape sequence to change colors" > /dev/pts/*
<sochotnicky> which will basically do it in each client (but I also haven't tried since I don't switch themes at all anymore)
<ngortheone> thanks
<novakane> sochotnicky: ah yeah ok make sense
<dnkl> novakane: sochotnicky: ngortheone: OSC-4, 10, 11 and 12
<dnkl> Arsen: think I finally fixed the foot-gets-slow-as-f*-and-eventually-crashes issue with large selections: https://codeberg.org/dnkl/foot/pulls/1126
<dnkl> since IME on Wayland isn't.. great, I've added (super) basic Unicode input support: https://codeberg.org/dnkl/foot/pulls/1124
<sochotnicky> speaking of unicode support and the like... poppler finally seems to have fixed unicode support in PDF forms (yay!)
<dnkl> better late than never? 😄
<sochotnicky> oh yeah, the original bug I found was from 2009
<sochotnicky> scratch that - 2008
<dnkl> re OSC-4 and family - basic documentation is in foot-ctlseq(7). XTerm's ctlseq document has more info
<ngortheone> dnkl: thanks, but I still struggle to wrap my head around how theme.sh modifies colors in foot ...
<dnkl> ngortheone: if you want to play around with it, start small. Try manually echo:ing an OSC-4 sequence inside a single terminal instance
<dnkl> for example: echo -e '\e]4;1;rgb:ff/ff/ff\e\\'
<dnkl> this will change the "normal red" to white
<dnkl> to broadcast to all terminal instances, write the sequence to /dev/pts/[0-9]* (that is, everything under /dev/pts except ptmx)
<ngortheone> dnkl: got it. So SIGUSR simply triggers the shell script. Shell script writes these sequences to all /dev/pts/[0-9]*
<dnkl> correct
<ngortheone> Awesome, I will give it a try
<Arsen> dnkl: seems quite a bit better, still crashes on the stress test, but that's to be expected
<Arsen> maybe only send the selection after the user stops trying to select or a second passes since the last time you did (i.e. do at most 1/s but always after the user lets go of left click)
<dnkl> that's not expected
<dnkl> we don't "send" anything until the user stops selecting
<dnkl> before, the problem was simply that foot was too slow to handle incoming mouse events
<dnkl> it shouldn't be that slow anymore
<dnkl> I wasn't able to crash it
<Arsen> hmm
<dnkl> but then I didn't test exactly like you did. Though, the way I test did suffer the slowness and crash before the PR
<Arsen> I held S+PgUp while moving the cursor slowly left-right to force it to extend the selection
<ngortheone> dnkl: where can I read more about OSC stuff? '\e]4;1;rgb:ff/ff/ff\e\\' this looks like a mumbo-jubmo to me
<dnkl> Arsen: I physically can't to that test on my laptop... hands aren't large enough :)
<Arsen> ah
<dnkl> Arsen: stupid question: you built the correct branch?
<Arsen> I asked myself that already, but:
<Arsen> [i] ~/foot 139 $ ./build/foot --version
<Arsen> foot version: 1.12.1-45-g0c60bb3f (Jul 28 2022, branch 'selection-performance-v2') -pgo +ime +graphemes +assertions
<dnkl> yeah, that's correct
<dnkl> can you get a perf report ?
<Arsen> sure, I haven't used perf in ages though, can you give me a refresher
<dnkl> "perf record ./foot", trigger crash, "perf report"
<dnkl> Arsen: can you paste the report as text instead? I'd need your foot binary for symbols otherwise
<Arsen> oh, sure
<dnkl> I just need to top ten rows
<dnkl> Arsen: that's from an old foot binary. e.g. premark_selected() has been removed in the performance PR
<Arsen> its in-tree on the selection-performance-v2 branch: [i] ~/foot 2 $ rg --count premark_selected
<Arsen> selection.c:2
<dnkl> try pulling again, and check that version reports foot version: 1.12.1-55-g90625422
<dnkl> hash at the end is what matters
<Arsen> oh wait
<Arsen> whoops, I passed -b to git-checkout by habit
<Arsen> so it made a new branch based off of master
<Arsen> yeah, that branch fixes it
<dnkl> Arsen: :D
<dnkl> great, thanks for testing ;)
<Arsen> np, thanks for the fix! :D
<ngortheone> dnkl: is bright0 considered to be color number 8?
<ngortheone> disregard, found it
gbrlsnchs has joined #foot
ngortheone has quit [Quit: Client closed]
ngortheone has joined #foot
Arnavion has quit []
caveman has quit [Remote host closed the connection]
caveman has joined #foot
Arnavion has joined #foot
caveman has quit [Ping timeout: 268 seconds]
gbrlsnchs has quit [Quit: nyaa~]
caveman has joined #foot
Consolatis has quit [Ping timeout: 240 seconds]
Consolatis has joined #foot
vyryls has joined #foot
vyryls has quit [Client Quit]
vyryls has joined #foot