1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-15 06:53:02 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Marvin Ewald
04576fea7e Add paste-mode to allow multiline text pasting
Ctrl-T toggles paste mode.
Useful when pasting multiline text because it avoids triggering an
enter keypress after linebreaks.
Instead, every \r is translated to \n which is again translated to a
pilcrow (see previous commit).
The pasted text can then be sent as a whole instead of splitting up in
multiple messages.
2016-02-28 21:40:41 +01:00
Marvin Ewald
e6f839f9ac Enable multiline input
Adds a nonl() call to avoid translation from \r to \n when pressing
enter.
C-J -> \n
Enter -> \r
To allow multiline input, \n chars (e.g. when pressing C-J) are replaced
with a pilcrow. After hitting enter, every pilcrow is substituted with
\n again.
2016-02-28 02:35:36 +01:00
Jfreegman
11701d22a1
Lots of bug fixes and general code cleanup 2015-08-27 03:38:08 -04:00
Jfreegman
ae87b2eb2d
begin port to new API 2015-03-25 22:56:45 -04:00
Jfreegman
8a882916fb
fix setting custom keybinding 2014-10-08 15:22:49 -04:00
Jfreegman
e6b18231c0
add ability to toggle groupchat peerlist with ctrl-b 2014-10-08 02:45:08 -04:00
Jfreegman
43552161f9
implement word deletion via ^W 2014-10-05 23:12:58 -04:00
Jfreegman
e7697b8fba
make ctrl-L force refresh the window 2014-10-01 16:24:36 -04:00
Jfreegman
a9e5723ca4 a couple fixes 2014-09-27 03:08:19 -04:00
Ansa89
6ad744f770 Add stdlib.h header to allow off_t type 2014-09-26 10:50:42 +02:00
mannol
8f3989000d Box notifications are like ready 2014-08-02 00:37:02 +02:00
mannol
18a6f621f0 Started adding support for popup notifications and adjustments to new core 2014-07-27 01:49:59 +02:00
Jfreegman
f630a3e604
fix possible buffer overflows and undefined behaviour 2014-07-25 17:55:21 -04:00
Jfreegman
fb5a9bc043 fix backspace bug, simplify a bit 2014-07-25 15:51:29 -04:00
irungentoo
26ad5a00a3 Fixed out of bounds read. 2014-07-25 15:17:46 -04:00
Jfreegman
ce4f293574 fix undefined behaviour with string literals 2014-07-16 12:51:07 -04:00
Jfreegman
b23ae5a4c3 add buffer yanking, clean up input functions 2014-07-14 14:44:42 -04:00
Jfreegman
581261afca
fix backspace issue on some platforms 2014-06-26 11:19:51 -04:00
Jfreegman
09badaa9ee refactor chat window input code, misc fixes 2014-06-26 02:52:01 -04:00