Age | Commit message (Collapse) | Author |
|
With bracketed paste, "a\nb" will result in two lines being pasted,
because it's a single thing, with an end marker which the timeout based
pastes don't have.
Due to the way term_gets() counts lines, that input will have
paste_line_count == 1. This can be misleading.
This code adjusts it by looking at the last character, and increasing
the count if it finds anything that isn't a newline.
|
|
|
|
|
|
Add xterm's keypad enter, meta-O-M to "key return" bindings
|
|
Fix warnings
|
|
|
|
Turns out it was fixing the wrong string, and trying to do
atoi("RECON-1") instead of atoi("1").
"/reconnect 1" worked, but "/reconnect RECON-1" gave that confusing
error message.
|
|
From the 'kent' terminfo entry. Also applies to putty.
Fixes #327
|
|
Fix the display of utf8 sequences in the gui
|
|
|
|
Save the sasl state in the session
|
|
|
|
|
|
Silence a warning and make the world a better place.
|
|
Thanks to Jilles and dx.
Fixes #309
|
|
Lemon broke it a few commits ago.
|
|
Fix a memory leak.
|
|
Flush the dirty buffer to disk
|
|
Given a big enough write_buffer_size and a long enough
write_buffer_timeout it might be possible to show the user an incomplete
or empty awaylog.
Patch by: Petteri Aimonen
|
|
|
|
|
|
|
|
term_addstr() had a long-standing fixme that suggested it didn't
take into account the string encoding when calculating the string
length.
The BIG5 code path is untested.
|
|
g_get_current_dir() returns a heap-allocated string.
|
|
Limit recursion depth of key/combo expansion in key_states_scan()
|
|
Fixes FS#919
|
|
This is seemingly required to have irssi re-authenticate after a
restart.
|
|
|
|
|
|
Both cases were off-by-one mistakes erring on the side of being too
conservative. This fixes these two harmless issues:
- For a single empty paste, it required another keystroke before
processing it
- For a sequence of themcase, a single '~' was left in the input
|
|
This actually workarounds a bug with the "st" terminal, for which i've
already submitted a patch, but irssi needs to be able to handle it
decently too.
|
|
"Small" as in ending in the same sig_input() call where they started
|
|
|
|
|
|
|
|
Also move relevant code to a paste_bracketed_end() function
|
|
- Use a keybinding to detect the start of a bracketed paste
- Iterate over the paste buffer looking for the end marker
|
|
The sequences we're after are found at the beginning or at the end of the
buffer, there's no need to scan the whole thing.
|
|
|
|
In the hope it'll do the same under the hood.
|
|
|
|
As an alternative method of paste detection, more reliable but might not be
supported by all the VTs.
|
|
Allow the user to set and modify the SASL parameters
|
|
The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
|
|
|
|
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
|
|
Patch from debian bug 696963 [1]
Fixes github bug #220 and flyspray bug 867 [2]
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696963
[2]: http://bugs.irssi.org/index.php?do=details&task_id=867
|
|
Add multi-prefix to list of capabilities to request
|
|
The g_strcmp0 fallback in particular was broken since it was used in a
few places as a GCompareFunc, and macros don't work that way.
Yes, that one was my fault, but nobody complained :D
|
|
Turns out event_names_list() in irc-nicklist.c already handles this.
event_who() just ignores it, which is probably a good idea since some of
the irc servers I tested this with have a bug that results in sending
multiple prefixes in the NAMES reply but not in the WHO one (they were
forks of ircd-hybrid before 7.3.0)
And NAMES always happens, anyway. WHO is omitted sometimes for huge
channels.
|