Toggle pings, remove line-wrapping, unset victim.
authorPete <pete@debu.gs>
Thu, 26 Sep 2024 00:03:49 +0000 (17:03 -0700)
committerPete <pete@debu.gs>
Thu, 26 Sep 2024 00:03:49 +0000 (17:03 -0700)
commit612e0f593d4a74b9e1dbfcfd6b465eb5d2150de9
tree656c9ca37a87f094d7fa73eb641594e621623898
parent6c4572b47d06d30b86d2aab66c8ef5d666608929
Toggle pings, remove line-wrapping, unset victim.

There's a new option (-P) to hide pings at startup, and a new command (/P)
to toggle ping visibility.  Pings are sometimes useful to know about but
if you don't have a target, they kinda flood.

On startup, target is nil and this lets you see everything coming through.
I'd miss DMs because the target was set to a channel, so I had to annoy
people by telling them that I couldn't see DMs unless they told me that I had
them before I had one.  So I added this option and then got a screen full of
PINGs when I woke up.  (Or half full of PINGs and the balance in PONGs.)
This makes irc7 usable as a general client for me.

Lastly, I removed line-wrapping.  I have no use for it.  If anyone else cares
about this changeset, then maybe it could be an option, but as long as I'm the
only one using it, I don't need an option that I'll never enable.

khm's C code is a fun read.  It has a lot of personality.
irc.c