Age | Commit message (Collapse) | Author |
|
|
|
|
|
"%.*ls" is useless.
|
|
Split UI initialization into two steps either side of the call to
connect, so that C-c works as interrupt while it's blocked.
|
|
This fixes odd wrapping when a nick contains a hyphen and there are no
further wrapping points.
|
|
Notably this fixes opening URLs from litterbox queries where part of the
URL is highlighted.
|
|
|
|
While the automatic search via LESS is neat, I don't think it's very
useful. Just always open the manual to the COMMANDS section, and fix it
to append to LESS rather than replace it.
|
|
Accumulate names in a buffer and show away status.
|
|
It's pretty awkward with large channels since NAMES isn't sorted by
prefixes or anything... But having it accumulate names across many
replies would require more reworking.
|
|
I do not feel like documenting the 2-param form of /whois because it is
weird, but it should work for those who already know about it.
|
|
This fixes a bug where if you send a private message before joining any
channels, your message will be routed to the <network> window. That
happens because without a JOIN, self.user remains unset, which means
that require will copy self.nick (set by echoMessage) to self.host. The
easiest solution is to go back to checking for '.' and add a '.' to the
default nick, so now if a server sends a NOTICE with no origin it will
look like -*.*- which is kinda cute.
|
|
This fixes a bug when wrapping on a word with style changes inside it,
where the copied style would be different depending on the width of the
terminal.
|
|
getyx is so annoying this way.
|
|
|
|
This fixes the inconsistent M-u behaviour when catgirl is restarting and
reconnecting to pounce, for example.
|
|
It only used to use different code to avoid adding the blank line to the
soft buffer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Otherwise the zero timestamps totally break save data loading! Bad!
|
|
This restores normal scrolling behaviour.
|
|
|
|
This makes wrapping text with background colour look much better.
|
|
Scrolling is still affected by hidden lines (which I'm not sure yet is
good or not), so for M-u to work it needs to count ignored lines.
|
|
So they can be preserved forever!
|
|
|
|
|
|
|
|
|
|
Otherwise artefects can appear when resizing to smaller width with wide
characters at the right edge of the window.
|
|
Never split a codepoint, don't set wrapping point unless we're not
already wrapping, wrap on any unicode whitespace, only clear rest of
line if still on the same line...
|
|
Still missing: split scrolling and preserving a blank on reflow either
from resize or ignore toggling.
Anecdata: on one of my instances of catgirl, RAM usage of the previous
release was ~30M, RAM usage of this commit was ~12M.
|
|
Not yet rendered in the UI! Just done in parallel.
|
|
Not sure why I had named them this way. Hard means hard-wrapped.
|
|
In preparation for doing line wrapping outside of ncurses.
|
|
|
|
|
|
This has always been how it works, but it was previously undocumented.
|
|
|
|
|
|
The mention coloring code already matches case-sensitively, and any
proper ping should be using tab-complete anyway so there's no reason for
differing case. And the month of June should not ping me.
|
|
This fixes the case when pinging multiple nicks and one of them needs to
be cycled through.
|
|
Also determine if a message is from the server by if the host field has
been copied from the nick field.
EFNet sends NOTICEs with no origin during registration.
RFC 1459 has this to say:
> If the prefix is missing from the message, it is assumed to have
> originated from the connection from which it was received.
I suppose a more correct implementation would be to set the origin to
the hostname of the server, but we don't store that globally, so this
is good enough.
|
|
|
|
|
|
|