| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Tab completion code simplification
|
| |
| |
| |
| |
| |
| | |
Factor out common code for Tab and Shift-Tab in a separate function.
No functional change.
|
|\ \
| | |
| | | |
Add Alt/Ctrl-arrows combinations for GNU Screen
|
| | |
| | |
| | |
| | |
| | |
| | | |
GNU Screen terminal emulator is modelled after VT100, its key bindings
for "application mode" (which profanity enables on startup) can be
seen with this: info screen "Input Translation".
|
|\ \ \
| | | |
| | | | |
Make all existing input functions bindable from config
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Even moar cleanup
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current code is inherently racy: if screen update takes
considerable time (e.g. when working over network) and a user
performed a series of resizes the final event might get ignored and
the display will be left in inconsistent state.
Fix the race by unsetting the flag first so if the next WINCH signal
is received while display is resizing it'll be processed on the next
iteration.
|
|/
|
|
| |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
|
|
|
|
|
|
|
|
|
| |
The current code enters an infinite loop if the input string happens
to get an invalid utf-8 sequence somehow. For me it was reproducible
by running profanity in a Screen session and pressing Alt-т (cyrillic
letter).
Fix it the way borrowed from 0501e49623f68aa39508e4e622924c1dd8147588
where mbrlen is used for the same purposes.
|
|
|
|
|
| |
Fixes https://github.com/profanity-im/profanity/issues/1425
`/who none` now displays all users in an muc without an affiliation
|
|\
| |
| | |
Fix #1624
|
| |
| |
| |
| | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
Fixes https://github.com/profanity-im/profanity/issues/1649
Type `>` then press tab or shift tab to autocomplete previous messages,
then type your reply and send message.
Newlines are replaced with newline followed by `> `.
A newline is added at the end so that the user can immediately type a
message without manually adding a new line.
|
|\
| |
| | |
Fix not autocompleting nicks with '/'
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Remove check for '/' at the beginning of the line before autocompleting
and make it fallback to command autocompletion if no nicks found.
Fixes https://github.com/profanity-im/profanity/issues/1474
|
| |
| |
| |
| | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| | |
|
|/ |
|
|
|
|
| |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
|
|
|
| |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
|\
| |
| | |
Allow more UI indicator signs to be utf8 "characters"
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This and the following commits should make a couple of more configs
allow utf8 chars so people can use their weird icons :-)
We did the same for the otr/omemo/pgp indicators at:
https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674
https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
|
|/
|
|
| |
place
|
| |
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1597#issuecomment-930540261
|
|
|
|
|
|
|
| |
See
https://github.com/profanity-im/profanity/commit/fd9ccec8dc604902bbb1d444dba4223ccee0a092
and
https://github.com/profanity-im/profanity/issues/1597#issuecomment-930426764.
|
|
|
|
|
|
| |
Fix https://github.com/profanity-im/profanity/issues/1597
Thanks @debacle.
|
| |
|
| |
|
|
|
|
|
|
| |
alt+f is the default readline shortcut for forward one word.
Regards https://github.com/profanity-im/profanity/issues/1580
|
|
|
|
|
|
|
|
| |
_chatwin_history() reassigns msg->plain without freeing previous
string. This leads to memory leak. As a temporary solution, free
replaced string.
Fixes #1585.
|
| |
|
|
|
|
|
|
| |
Offset for g_utf8_substring() is higher than the string length. We can
avoid g_utf8_substring() for the tail and simply convert starting offset
to a pointer.
|
|
|
|
|
|
|
| |
`/silence on` will throw away all messages (type: chat, normal) that
come from jids that are not in the roster.
Implement https://github.com/profanity-im/profanity/issues/955
|
|
|
|
|
| |
Only display server contact information heading when we have actual
addresses.
|
|
|
|
| |
Format the output of cons_show_disco_contact_information() so that it matches cons_show_disco_info().
|
| |
|
| |
|
| |
|