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
caveman has quit [Quit: btc donations: bc1qt3chy4rqtzjny2h7qt47cy7nmu6th9sr66wa02]
an3223 has quit [Ping timeout: 276 seconds]
caveman has joined #foot
caveman has quit [Quit: bbl]
Consolatis__ has joined #foot
Consolatis_ has quit [Ping timeout: 250 seconds]
caveman has joined #foot
Consolatis__ is now known as Consolatis
cvmn has joined #foot
<manio> brocellous: I think i know what you mean, I also noticed this
<manio> but TBH I take it as an advantage
<manio> because when I do clear;something then I am sure that my scrollback is really clear :)
<manio> while in other terms I still could go above the 'clear' and see the contents
<manio> so to do this on other terms I had to use reset instead of clear
<brocellous> well I don't actually type clear, I use Ctrl-L bound to clear-screen in zsh by default
<brocellous> clear emits ^[[3J on foot by default to clear the whole scrollback
<manio> depends on your needs, in my case I am doing for instance: "clear;cargo build"
<manio> and I can see compile errors at the top :)
<brocellous> clear -x / Ctrl-L emit ^[[2J to clear the screen
<manio> maybe this behavior is configurable?
<manio> look in doc, or maybe setterm ?
ChanServ has quit [*.net *.split]
cvmn has quit [*.net *.split]
caveman has quit [*.net *.split]
kevr has quit [*.net *.split]
noteness has quit [*.net *.split]
Consolatis has quit [*.net *.split]
jackhill has quit [*.net *.split]
hspak has quit [*.net *.split]
benbrown has quit [*.net *.split]
emersion has quit [*.net *.split]
tomleb has quit [*.net *.split]
dutchie has quit [*.net *.split]
mvdan has quit [*.net *.split]
tinywrkb has quit [*.net *.split]
florhizome[m] has quit [*.net *.split]
digital_mystik has quit [*.net *.split]
beerman has quit [*.net *.split]
birger has quit [*.net *.split]
Lord has quit [*.net *.split]
Amanieu has quit [*.net *.split]
kayw_ has quit [*.net *.split]
ecocode__ has quit [*.net *.split]
ericonr has quit [*.net *.split]
mcepl[m] has quit [*.net *.split]
rj1 has quit [*.net *.split]
armin has quit [*.net *.split]
sochotnicky has quit [*.net *.split]
chrisppy has quit [*.net *.split]
dooba has quit [*.net *.split]
freed00m has quit [*.net *.split]
rcf has quit [*.net *.split]
zar_ has quit [*.net *.split]
rumpelsepp has quit [*.net *.split]
OmarZeghouani[m] has quit [*.net *.split]
p00f has quit [*.net *.split]
ecs has quit [*.net *.split]
V has quit [*.net *.split]
ollysmith has quit [*.net *.split]
lechner has quit [*.net *.split]
mattikus has quit [*.net *.split]
krobelus has quit [*.net *.split]
ponky has quit [*.net *.split]
jcgruenhage has quit [*.net *.split]
vipulogmx has quit [*.net *.split]
Nulo has quit [*.net *.split]
travankor has quit [*.net *.split]
noze has quit [*.net *.split]
hpfr has quit [*.net *.split]
jeromenerf has quit [*.net *.split]
manio has quit [*.net *.split]
avane has quit [*.net *.split]
alebastr has quit [*.net *.split]
cherti has quit [*.net *.split]
angry_vincent has quit [*.net *.split]
k-man has quit [*.net *.split]
Nuc1eoN has quit [*.net *.split]
lanodan has quit [*.net *.split]
sterni has quit [*.net *.split]
brocellous has quit [*.net *.split]
bgs has quit [*.net *.split]
Arnavion has quit [*.net *.split]
amk has quit [*.net *.split]
brocellous has joined #foot
caveman has joined #foot
cvmn has joined #foot
mcepl[m] has joined #foot
rumpelsepp has joined #foot
digital_mystik has joined #foot
beerman has joined #foot
Consolatis has joined #foot
mvdan has joined #foot
florhizome[m] has joined #foot
tinywrkb has joined #foot
OmarZeghouani[m] has joined #foot
p00f has joined #foot
V has joined #foot
lechner has joined #foot
Nulo has joined #foot
mattikus has joined #foot
hspak has joined #foot
krobelus has joined #foot
travankor has joined #foot
jeromenerf has joined #foot
ericonr has joined #foot
birger has joined #foot
rj1 has joined #foot
manio has joined #foot
Nuc1eoN has joined #foot
avane has joined #foot
freed00m has joined #foot
ChanServ has joined #foot
armin has joined #foot
chrisppy has joined #foot
noze has joined #foot
sochotnicky has joined #foot
rcf has joined #foot
dooba has joined #foot
alebastr has joined #foot
cherti has joined #foot
k-man has joined #foot
angry_vincent has joined #foot
jcgruenhage has joined #foot
vipulogmx has joined #foot
jackhill has joined #foot
hpfr has joined #foot
kevr has joined #foot
ecs has joined #foot
noteness has joined #foot
ollysmith has joined #foot
dutchie has joined #foot
tomleb has joined #foot
zar_ has joined #foot
benbrown has joined #foot
ponky has joined #foot
Lord has joined #foot
lanodan has joined #foot
emersion has joined #foot
Amanieu has joined #foot
ecocode__ has joined #foot
kayw_ has joined #foot
sterni has joined #foot
bgs has joined #foot
Arnavion has joined #foot
amk has joined #foot
cvmn has quit [Ping timeout: 276 seconds]
pranjal has joined #foot
cvmn has joined #foot
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #foot
pranjal has quit [Ping timeout: 256 seconds]
pranjal has joined #foot
cvmn has quit [Ping timeout: 276 seconds]
<dnkl> brocellous: manio: what ctrl+l emits is up to the shell (and often configurable)
<dnkl> The core sequence appears to be CSI H, CSI 2J
<dnkl> This is not a scroll sequence, and both xterm and urxvt behaves like foot
<dnkl> As does kitty and wezterm
<dnkl> "clear -x" also emits CSI H, CSI 2J
<dnkl> That said, I'm not immediately discarding the idea of scrolling out the screen content instead. Just that foot isn't really the odd one here.
<manio> dnkl: I just tested one thing...
<manio> cat /proc/cpuinfo
<manio> clear
<manio> those two commands in sequence
<manio> in foot i cannot see scrollback, shift+up gives nothing
<manio> in urxvt I can see some part of commands in the scrollback :)
<manio> of command output*
<dnkl> manio: clear without -x emits CSI 3J, which explicitly clears the scrollback
<dnkl> Not all terminals support it
<manio> ah
<manio> ok
<manio> so I tested clear and clear -x in urxvt
<manio> none of them clears it completely
<manio> when playing with this in urxvt for me the clear just set some kind of invisible "MARK"
<manio> and scroll it to this MARK
<manio> but if i scroll with mouse or shift+up I still can see the output :)
<manio> works really bad for me
<manio> foot is doing a good job here :)
kevr has quit [Remote host closed the connection]
kevr has joined #foot
<brocellous> dnkl: hm yeah I could have tested more terms
<brocellous> alacritty gives me the behavior I describe
<brocellous> and I recall termite/vte did as well
<dnkl> brocellous: yeah, this sounds like a VTE-invented feature (adopted by alacritty)
<brocellous> well I like it :/
armin has quit [Ping timeout: 240 seconds]
armin has joined #foot
romildo has joined #foot
<romildo> Is there a way to set unlimited number of scrollback lines in foot configuration?
Oleg has joined #foot
Oleg has quit [Quit: WeeChat 3.4]
Oleg has joined #foot
<Oleg> dnkl: Hi. I have a question about this: https://codeberg.org/dnkl/foot/commit/1e8220d83a8d3f01635fc24589fb4fc0d6378509 . It lists various themes. Why can't I simply add "theme=tango" to my [colors] section of foot.ini? Why do I need to copy/paste the entire contents of the tango file?
<dnkl> Oleg: you don't. You can do "include=path -to-theme-file" in the main/default section
<dnkl> romildo: no, there isn't
<Oleg> dnkl: thanks. On my system, I have /usr/local/share/foot/themes/tango. I copied the file to my home directory, so foot.ini could include it
hexa- has quit [Quit: WeeChat 3.3]
hexa- has joined #foot
<sochotnicky> Oleg: you don't need it in home to include it - you don't need to write to that
<sochotnicky> literally "include /usr/local/share/foot/themes/tango" at the top of your ~/.config/foot/foot.ini would do it
<Oleg> sochotnicky: right, it works without copying it to home. I don't know why I had a problem with this before. Maybe I did something wrong.
pranjal has quit [Quit: WeeChat 3.4]
<dnkl> brocellous: I _might_ agree to a patch that adds an option. But, would prefer to simply document how to configure the shell to "scroll" instead of "erase" when ctrl+l is pressed. If that's even possible...
Oleg has quit [Quit: WeeChat 3.4]
Oleg has joined #foot
Oleg has quit [Client Quit]
Oleg has joined #foot
<brocellous> dnkl: Is there a csi-sequence with that meaning?
<brocellous> In zsh I could rebind ctrl-l to something else, or a custom zle function
<dnkl> brocellous: scroll yes, but you'll need to figure out how many rows to scroll (there's no "scroll a page" escape)
<brocellous> Okay, I can mimic this on ctrl-l in zsh with: http://ix.io/3OsL
cbb has joined #foot
<cbb> dnkl: is it reliable to assume foot will send at least 2x SIGWINCH at startup on sway?
<cbb> ...or in other words is it safe to change waitwinch to wait for 2 SIGWINCH signals with no timeout?
<dnkl> cbb: I _think_ so. But probably only if the new foot window isn't floating
<dnkl> and it's been a while since I tested this on Sway
<dnkl> should be easy to find out though; just run foot with WAYLAND_DEBUG=1 and check for "configure" events
<cbb> dnkl: ah nice, thanks for the pointers
<cbb> it seems to work at least
<cbb> including with mtm
<dnkl> cbb: also seeing the same events on river (three xdg_toplevel.configure events: 0x0, 700x500, and the final, tiled, size)
<dnkl> nice!
<cbb> dnkl: does that imply there's 3 resizes on river?
<cbb> so 3x SIGWINCH?
<dnkl> no, two. First one is before we're mapped, asking us to set a size (that's the 0x0 event). We create a surface that's 700x500, and river replies with a corresponding configure event. Then river tiles us, and we get last configure event
<dnkl> this matches Sway's behavior
<dnkl> as I remmeber it
<cbb> ah ok, that's good to know
<dnkl> cbb: we send a SIGWINCH on the second and third configure events
<cbb> oh I see, yeah that makes more sense now
<dnkl> before the first SIGWINCH, we set a TIOCSWINSIZE=80x24
<dnkl> so, the client application *can* see three different sizes
<dnkl> but only two SIGWINCHes
<dnkl> (we used to have an initial WINSZ of 0x0, but that triggered crashes in some shells...)
<emersion> this is a bug, fwiw
<emersion> sway should send the correct size ideally, instead of 0x0
<cbb> emersion: I'm guessing there's some complexities to fixing it?
<dnkl> emersion: someone asked on the issue tracker if this behavior _was_ a bug. Good to know it is. Is there a bug report?
<dnkl> thanks!
<emersion> cbb: it's not trivial, but shouldn't be that hard
<dnkl> brocellous: nice! I'll put that on the wiki. An option in foot may still be acceptable, but at least there's now a workaround
bgs has quit [*.net *.split]
amk has quit [*.net *.split]
brocellous has quit [*.net *.split]
ChanServ has quit [*.net *.split]
cbb has quit [*.net *.split]
kevr has quit [*.net *.split]
caveman has quit [*.net *.split]
noteness has quit [*.net *.split]
romildo has quit [*.net *.split]
Consolatis has quit [*.net *.split]
jackhill has quit [*.net *.split]
hspak has quit [*.net *.split]
benbrown has quit [*.net *.split]
emersion has quit [*.net *.split]
tomleb has quit [*.net *.split]
dutchie has quit [*.net *.split]
mvdan has quit [*.net *.split]
tinywrkb has quit [*.net *.split]
beerman has quit [*.net *.split]
florhizome[m] has quit [*.net *.split]
digital_mystik has quit [*.net *.split]
birger has quit [*.net *.split]
Lord has quit [*.net *.split]
Amanieu has quit [*.net *.split]
armin has quit [*.net *.split]
kayw_ has quit [*.net *.split]
ecocode__ has quit [*.net *.split]
ericonr has quit [*.net *.split]
mcepl[m] has quit [*.net *.split]
rj1 has quit [*.net *.split]
chrisppy has quit [*.net *.split]
dooba has quit [*.net *.split]
freed00m has quit [*.net *.split]
rcf has quit [*.net *.split]
zar_ has quit [*.net *.split]
rumpelsepp has quit [*.net *.split]
OmarZeghouani[m] has quit [*.net *.split]
p00f has quit [*.net *.split]
sochotnicky has quit [*.net *.split]
V has quit [*.net *.split]
ollysmith has quit [*.net *.split]
ecs has quit [*.net *.split]
lechner has quit [*.net *.split]
mattikus has quit [*.net *.split]
krobelus has quit [*.net *.split]
ponky has quit [*.net *.split]
Oleg has quit [*.net *.split]
hexa- has quit [*.net *.split]
jcgruenhage has quit [*.net *.split]
vipulogmx has quit [*.net *.split]
Nulo has quit [*.net *.split]
travankor has quit [*.net *.split]
noze has quit [*.net *.split]
hpfr has quit [*.net *.split]
jeromenerf has quit [*.net *.split]
manio has quit [*.net *.split]
avane has quit [*.net *.split]
cherti has quit [*.net *.split]
alebastr has quit [*.net *.split]
angry_vincent has quit [*.net *.split]
k-man has quit [*.net *.split]
Nuc1eoN has quit [*.net *.split]
lanodan has quit [*.net *.split]
sterni has quit [*.net *.split]
<dnkl> bye bye matrix?
rcf has joined #foot
mcepl[m] has joined #foot
rj1 has joined #foot
freed00m has joined #foot
dooba has joined #foot
chrisppy has joined #foot
jackhill has joined #foot
k-man has joined #foot
Consolatis has joined #foot
benbrown has joined #foot
lanodan has joined #foot
romildo has joined #foot
dutchie has joined #foot
sochotnicky has joined #foot
tomleb has joined #foot
emersion has joined #foot
amk has joined #foot
bgs has joined #foot
sterni has joined #foot
angry_vincent has joined #foot
alebastr has joined #foot
Nuc1eoN has joined #foot
cherti has joined #foot
kayw_ has joined #foot
avane has joined #foot
hpfr has joined #foot
ecocode__ has joined #foot
noze has joined #foot
manio has joined #foot
armin has joined #foot
cbb has joined #foot
Nulo has joined #foot
jcgruenhage has joined #foot
brocellous has joined #foot
vipulogmx has joined #foot
Oleg has joined #foot
travankor has joined #foot
jeromenerf has joined #foot
hexa- has joined #foot
ericonr has joined #foot
mvdan has joined #foot
florhizome[m] has joined #foot
birger has joined #foot
digital_mystik has joined #foot
beerman has joined #foot
tinywrkb has joined #foot
Lord has joined #foot
Amanieu has joined #foot
tinywrkb has quit [Ping timeout: 245 seconds]
mvdan has quit [Ping timeout: 245 seconds]
beerman has quit [Ping timeout: 245 seconds]
rcf has quit [Quit: WeeChat 3.2.1]
noteness has joined #foot
kevr has joined #foot
caveman has joined #foot
zar_ has joined #foot
mcepl[m] has quit [Ping timeout: 240 seconds]
kevr has quit [Max SendQ exceeded]
rcf has joined #foot
OmarZeghouani[m] has joined #foot
ecs has joined #foot
ollysmith has joined #foot
p00f has joined #foot
ponky has joined #foot
rumpelsepp has joined #foot
lechner has joined #foot
mattikus has joined #foot
V has joined #foot
krobelus has joined #foot
rumpelsepp has quit [Ping timeout: 245 seconds]
p00f has quit [Ping timeout: 245 seconds]
OmarZeghouani[m] has quit [Ping timeout: 245 seconds]
digital_mystik has quit [Ping timeout: 245 seconds]
rcf has quit [Client Quit]
hpfr has quit [Ping timeout: 240 seconds]
rcf has joined #foot
florhizome[m] has quit [Ping timeout: 245 seconds]
jcgruenhage has quit [Ping timeout: 250 seconds]
<dnkl> ... and chanserv
rcf has quit [Client Quit]
rcf has joined #foot
caveman has quit [Remote host closed the connection]
ChanServ has joined #foot
rcf has quit [Quit: WeeChat 3.2.1]
rcf has joined #foot
kevr has joined #foot
caveman has joined #foot
beerman has joined #foot
romildo has quit [Quit: Leaving]
tinywrkb has joined #foot
digital_mystik has joined #foot
hpfr has joined #foot
florhizome[m] has joined #foot
jcgruenhage has joined #foot
mcepl[m] has joined #foot
p00f has joined #foot
rumpelsepp has joined #foot
OmarZeghouani[m] has joined #foot
rcf has quit [Quit: WeeChat 3.2.1]
mvdan has joined #foot
rcf has joined #foot
an3223 has joined #foot
cvmn has joined #foot