Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-22 | Don't call terminfo_cont() twice on resume | LemonBoy | |
Fixes some weirdness when using ^Z with zsh. | |||
2016-03-22 | Properly toggle bracketed paste mode on stop/cont | ailin-nemui | |
Fixes #449 | |||
2016-03-22 | fix race condition in terminal init | ailin-nemui | |
remove the tcgetattr call to a single time on irssi load instead of querying it each time. Fixes #450 | |||
2016-03-22 | cutbuffer: do not unconditionally use replace when noop was requested | ailin-nemui | |
2016-02-24 | Make pasting warning appear when long pastes are going to be split into many ↵ | Manish Goregaokar | |
lines | |||
2016-02-24 | use a #define'd LINE_SPLIT_LIMIT instead of hardcoding 400 | Manish Goregaokar | |
2016-02-10 | fix whitespace | Todd A. Pratt | |
2016-01-30 | remove memory allocation check, spaces to tabs | Todd A. Pratt | |
2016-01-30 | add an append operation to cut buffer handling | Todd A. Pratt | |
2016-01-26 | Merge pull request #353 from toddpratt/master | ailin-nemui | |
Allow for prepending to the cutbuffer in addition to replacing it. | |||
2016-01-08 | reorder history add and fixes | ailin-nemui | |
2015-12-15 | Merge pull request #306 from dequis/bracketed-paste | ailin-nemui | |
Implement paste detection via the bracketed paste mode 2: bracket pasterer | |||
2015-12-13 | Bracketed paste: fix nitpick from ahf's review | dequis | |
Thanks ahf | |||
2015-12-12 | Bracketed paste: Adjust paste line count if there's text after newlines | dequis | |
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. | |||
2015-12-12 | Disable timeout-based paste detection if paste_use_bracketed_mode is on | dequis | |
2015-12-09 | Merge branch 'master' of github.com:irssi/irssi | Todd A. Pratt | |
2015-12-09 | Remove all WIN32 ifdefs (unifdef -UWIN32) | dequis | |
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way. | |||
2015-12-09 | Merge pull request #174 from ailin-nemui/entry-prompt-colours | ailin-nemui | |
reimplement format and length logic for the entry prompt | |||
2015-11-22 | Use 'isblank()' instead of a custom macro | LemonBoy | |
2015-11-22 | Correct a wrong use of the 'paste_buffer' variable | Fabian Kurz | |
The function "static void paste_buffer_join_lines(GArray *buf)" in "src/fe-text/gui-readline.c" is supposed to join lines from the GArray pointed to by *buf under certain circumstances. In the code of the function "buf" is actually used for getting the length of the GArray, but to get a pointer to the data, "paste_buffer->data" is used; paste_buffer is defined in the scope of the whole file. This delivers the desired result, because this function is only called once, with "paste_buffer" as the argument. If paste_buffer_join_lines() will ever be used with a different argument, it will fail. | |||
2015-11-14 | use the enum name which was the original intended change | Todd A. Pratt | |
2015-11-13 | fix indentation, undelete line not meant to be deleted. | Todd A. Pratt | |
2015-11-13 | remove more cruft from previous implementation | Todd A. Pratt | |
2015-11-13 | remove cruft from previous implementation | Todd A. Pratt | |
2015-11-13 | a facility for prepending or replacing the cutbuffer | Todd A. Pratt | |
2015-11-08 | Merge remote-tracking branch 'origin/master' into bracketed-paste | dequis | |
2015-11-02 | Merge branch 'master' of github.com:toddpratt/irssi | Todd A. Pratt | |
2015-11-02 | Make C-w and M-backspace work right. | Todd A. Pratt | |
2015-11-02 | Merge pull request #330 from dequis/xterm-keypad-enter | ailin-nemui | |
Add xterm's keypad enter, meta-O-M to "key return" bindings | |||
2015-11-01 | Merge pull request #320 from irssi/ahf/add-setting-type-any | dx | |
Fix warnings | |||
2015-10-06 | Add xterm's keypad enter, meta-O-M to "key return" bindings | dequis | |
From the 'kent' terminfo entry. Also applies to putty. Fixes #327 | |||
2015-10-04 | Fix the indentation. | LemonBoy | |
2015-10-03 | Remove check for >= 0 for unsigned unichar. | Alexander Færøy | |
2015-10-02 | Even simpler logic | LemonBoy | |
2015-10-02 | Rework the logic to avoid allocating memory | LemonBoy | |
2015-10-02 | Fix the display of utf8 sequences in the gui | LemonBoy | |
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. | |||
2015-09-27 | Handle empty bracketed pastes (or sequences of those) | dequis | |
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 | |||
2015-09-27 | Handle a paste start marker right after an end one (ignore both) | dequis | |
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. | |||
2015-09-27 | Create paste_bracketed_middle() function to handle small pastes | dequis | |
"Small" as in ending in the same sig_input() call where they started | |||
2015-09-27 | Fix some minor style issues | dequis | |
2015-09-27 | Send last line of bracketed paste together with the rest | dequis | |
2015-09-27 | paste_bracketed_end: Fix rest length calculation | dequis | |
2015-09-27 | Save the part of the paste buffer after the bp_end marker for later | dequis | |
Also move relevant code to a paste_bracketed_end() function | |||
2015-09-27 | Improve bracketed paste start/end detection | dequis | |
- Use a keybinding to detect the start of a bracketed paste - Iterate over the paste buffer looking for the end marker | |||
2015-09-27 | Get rid of the non-portable memmem | LemonBoy | |
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. | |||
2015-09-27 | Enable the bracketed paste mode on demand | LemonBoy | |
2015-09-27 | Replace some hairy logic with g_array_remove_range | LemonBoy | |
In the hope it'll do the same under the hood. | |||
2015-09-27 | Toggles | LemonBoy | |
2015-09-27 | Implement the bracketed paste mode | LemonBoy | |
As an alternative method of paste detection, more reliable but might not be supported by all the VTs. | |||
2015-09-21 | Fix FS#905, mangled text when pasted line length exceeds 400 | dequis | |
http://bugs.irssi.org/index.php?do=details&task_id=905 Not using the patch from that ticket, the issue turned out to be that (dest - last_lf_pos) returned number of unichr, not bytes, so that's 4 times less than what the size parameter of memmove() should be. |