Christian Storm
916a3d9451
Bind ^L to own clear method to retain ui elements
...
When using readline's standard ^L binding, the screen
is completely cleared, including status and title bar.
By binding ^L to profanity's clear method, status and
title bar are retained.
2015-02-08 12:15:01 +01:00
James Booth
129af0eafd
Merge branch 'master' into readline
2015-02-08 00:46:55 +00:00
James Booth
e0dfe4832b
Added code to generate HTML command reference for website
2015-02-08 00:42:21 +00:00
James Booth
b7a8e7d942
Merge branch 'master' into readline
2015-02-06 22:05:38 +00:00
James Booth
bec95afc8b
Removed strdup passed to autocompleter
2015-02-06 22:03:40 +00:00
James Booth
1e35b76bf9
Added callgrind.out files to gitignore
2015-02-06 21:41:24 +00:00
James Booth
8977c9c721
Removed duplicate time_ac
2015-02-06 21:40:35 +00:00
James Booth
f447ac4189
Free win layout
2015-02-06 21:39:53 +00:00
James Booth
f08657fa9a
Handle home scroll
2015-02-06 14:11:21 +00:00
James Booth
2e83d23873
Removed unused function
2015-02-06 00:20:06 +00:00
James Booth
113cb6cf9a
Removed debug logging
2015-02-05 01:00:06 +00:00
James Booth
a70aa0255f
Moved command processing to main loop, allow resize during password prompt
2015-02-05 00:58:23 +00:00
James Booth
30180ac8bb
Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing
2015-02-04 23:35:28 +00:00
James Booth
d64c4a69d7
Removed unused functions from inputwin.c
2015-02-04 22:22:18 +00:00
James Booth
b2536e91c0
Fixed input timout returning EINVAL on OSX
2015-02-04 01:04:56 +00:00
James Booth
7ab301869f
Moved readline startup hook
2015-02-03 23:27:06 +00:00
James Booth
8b58eb68d3
Tidied inputwin.c
2015-02-03 23:07:15 +00:00
James Booth
af345b6700
Updated navigation help
2015-02-03 22:24:47 +00:00
James Booth
f80f79e0b5
Added configure conditions for OSX brew installed readline
2015-02-03 22:04:30 +00:00
James Booth
82ddbf332d
Added OSX readline keyseq bindings
2015-02-03 21:38:48 +00:00
James Booth
b76501f0bc
Removed mbstate_t use
2015-02-03 21:08:34 +00:00
James Booth
836fdd2eb1
Remove state passed to wide char len check
2015-02-03 21:04:51 +00:00
James Booth
1c157b04df
Fixed arrow keys with debug
2015-02-02 23:17:47 +00:00
James Booth
5954c0d2fe
Readline osx compatibility
2015-02-02 21:27:58 +00:00
James Booth
51a5426006
Added include for timeval struct
2015-02-01 21:01:00 +00:00
James Booth
372cf822cb
Merge branch 'master' into readline
2015-02-01 20:47:28 +00:00
James Booth
702ea0b5f3
Use getc wrapper for autocomplete reset check
2015-02-01 20:14:07 +00:00
James Booth
a9af8785a7
Added more ignore characters to handle activity
2015-02-01 00:35:42 +00:00
James Booth
e8b6c505cb
Handle word wrapping wide chars
2015-02-01 00:14:11 +00:00
James Booth
a19c0a5989
Added scroll handler
2015-01-31 22:29:44 +00:00
James Booth
3b3ffcfb37
Added mock ui functions to tests
2015-01-31 22:14:41 +00:00
James Booth
84688c063e
Removed commented code, renamed win switch handlers
2015-01-31 22:12:27 +00:00
James Booth
baa122e7dc
Added function key bindings
2015-01-31 22:08:00 +00:00
James Booth
28dd545877
Added paging handlers
2015-01-31 22:00:22 +00:00
James Booth
e6f27de552
Added SIGWINCH handler
2015-01-31 18:02:42 +00:00
James Booth
fe10f2b2e3
Clear autocompleters on printable chars
2015-01-31 16:51:09 +00:00
James Booth
2b11baa564
Added readline tab handler
2015-01-31 01:58:15 +00:00
James Booth
b3448eb265
Moved input blocking code to inputwin.c
2015-01-31 01:11:41 +00:00
James Booth
e161337b7f
Debug input block
2015-01-31 00:31:08 +00:00
James Booth
f94b6ef0a2
Added idle and activity handlers
2015-01-31 00:20:25 +00:00
James Booth
1cf5592b1f
Removed unused variables
2015-01-30 23:46:34 +00:00
James Booth
784a2ea862
Removed commented code
2015-01-30 23:44:17 +00:00
James Booth
a9ed64911d
Removed history and various key handlers
2015-01-30 23:42:51 +00:00
James Booth
83bd207316
Moved readline code to inputwin.c
2015-01-30 23:28:02 +00:00
James Booth
5b26879e31
Updated /wrap help
2015-01-28 20:59:25 +00:00
James Booth
351ff752a7
Renamed command group presence->presences to avoid clash
2015-01-28 20:35:00 +00:00
James Booth
ec28888915
Strip only trailing newline from eval_password
2015-01-28 19:50:16 +00:00
James Booth
6529220351
Strip leading/trailing whitespace from result of eval_password
...
fixes #495
2015-01-28 00:52:10 +00:00
James Booth
9800a46adb
Fixed compile error when no OTR support
2015-01-28 00:04:37 +00:00
James Booth
2cdbfc7eb7
Added gnu readline
2015-01-27 22:13:09 +00:00