Peter Stephenson
2fc2bb7c17
31961: rationalise fd watching to use structure
2013-11-12 20:41:06 +00:00
Peter Stephenson
f77a7a5b18
31937: zle -Fw uses widget semantics for file descriptor handler
2013-11-07 15:19:07 +00:00
Peter Stephenson
0ed3c5ccd0
31765: If zle starts in viins mark as insertion.
...
This allows undo to work on everything entered.
2013-09-25 18:42:59 +01:00
Peter Stephenson
0b185e3dcd
users/17908: Keep history line in sync between ZLE and shell.
...
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Mikael Magnusson
d904e85904
31483: Call zrefresh() before unqueue()ing signals
...
Not doing so causes problems for example with this .zshrc
zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
Bart Schaefer
d19e18c68d
31350: block SIGWINCH nearly all the time, except
...
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Frank Terbeck
daf4f19c3f
31172: Let vared define custom init and finish hooks
...
Using this, you can do things like this in a more straight-forward
manner:
foo-init() { CURSOR=0; }
zle -N foo-init
foo=$'Some longer\nbuffer with\nmultiple lines.'
vared -i foo-init foo
2013-04-05 17:23:45 +02:00
Frank Terbeck
6654b87b45
31174: zle: Make sure state changes are refreshed after init hook
...
If `zrefresh' is not called _after_ the zle-line-init hook, any changes
made to the editor's state (be it changes to $CURSOR or $BUFFER or
called widgets like `clear-screen') will only be picked up after the
first character is typed into the editor.
2013-04-05 17:23:45 +02:00
Peter Stephenson
9b923cccea
30084: `zle -T tc func' for zle testing of termcap output
2012-01-05 20:01:24 +00:00
Bart Schaefer
bcd0fd1128
queue_signals() to prevent adjustwinsize() loop on FreeBSD
2012-01-02 19:31:16 +00:00
Peter Stephenson
a3ae9f5d12
29643: set incompfunc to zero when executing hook or trap function
2011-08-04 08:30:50 +00:00
Peter Stephenson
a05a51ce8a
29542: fix crash in hbegin(), remove bad test
...
29543: fix backslash-newline within words with histlexwords
2011-07-12 08:37:11 +00:00
Peter Stephenson
54acd80359
29374: exit ZLE immediately if exit pending when keypress expected
2011-05-26 09:19:11 +00:00
Peter Stephenson
a7bc22ca00
Paul 28538 / me 28540 / couple of unposted casts:
...
use char * for pointer arithmetic rather than void *
2010-12-20 10:28:43 +00:00
Peter Stephenson
8856dc878e
28282: new function zlecallhook()
...
fix arguments to zle-keymap-select
2010-09-20 09:27:46 +00:00
Peter Stephenson
7e5a7a9135
28237: new parameter ZLE_LINE_ABORTED
...
28241: don't list .safe with bindkey -lL
2010-09-08 12:32:32 +00:00
Peter Stephenson
9a17762b0c
users/15217: use top-level status when redrawing prompt
2010-07-31 19:36:53 +00:00
Wayne Davison
693fd5b56e
Check the return value of all pipe(), read(), and write() calls.
...
Gets rid of all the remaining "ignoring return value" compiler
warnings, and makes some read/write operations safer by ensuring
that an EINTR is handled.
2009-12-16 18:39:06 +00:00
Peter Stephenson
af39a5ab1a
26463: Greg Klanderman: add zle-line-finish widget
...
26464: Greg Klanderman: fix insert-ids=single for menu completion
26465: Greg Klanderman: command keymap for execution
2009-01-28 09:31:53 +00:00
Peter Stephenson
02f05d7462
26110: option to allow vared to open to an alternative terminal
2008-12-09 17:37:01 +00:00
Oliver Kiddle
dcd26714bb
26030: fix memory leak in vared
2008-11-12 12:59:07 +00:00
Peter Stephenson
a1958f3c41
26025: prefer handling user input to zle -F file descriptor
2008-11-11 18:25:44 +00:00
Peter Stephenson
b2d08a2155
25744: dynamic named directories and further doshfunc() simplification
2008-09-26 09:11:27 +00:00
Peter Stephenson
9ae36771fe
25723: align combining character when popped from input stack
2008-09-22 18:37:49 +00:00
Peter Stephenson
2920c227d3
25677: add %x and %I prompt escapes for shell source code debugging
...
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Clint Adams
c715630baa
25634: free t before returning if both t and errflag are set.
2008-09-08 06:24:16 +00:00
Peter Stephenson
0c9830d23c
25345, 25347: neaten interface from main shell to zle
2008-07-31 08:44:16 +00:00
Peter Stephenson
0409391c7d
25272: add zshaddhistory hook
2008-07-17 11:27:55 +00:00
Peter Stephenson
bd70d684fc
25002: only ZLE should update attributes resulting from prompt expansion
2008-05-12 13:50:42 +00:00
Peter Stephenson
fadf4a55ff
24899: make colour escape sequences configurable
...
allow ANSI colour names
2008-05-01 10:58:23 +00:00
Peter Stephenson
b8ec06c870
24853: use metafied strings for inner loops over history
2008-04-20 21:17:29 +00:00
Peter Stephenson
dea42c692f
24852: more combining chars fallout
2008-04-20 16:57:21 +00:00
Peter Stephenson
bd79dd9238
24821: update notes in FAQ on combining characters,
...
fix up cursor on exit from user-defined widget
2008-04-16 09:59:32 +00:00
Peter Stephenson
035aa2263b
typo
2008-04-03 15:30:44 +00:00
Peter Stephenson
bc32da6a67
24786: handle read -t properly in zle via getbyte()
2008-04-03 15:20:18 +00:00
Peter Stephenson
2c5ea79f17
24782: initial go at highlighting of characters in zle command lines
2008-04-03 11:38:55 +00:00
Bart Schaefer
b78caa8ec4
24703: Src/Zle/zle_main.c: clear trashedzle when first starting
...
the editor in zleread(), so that reexpandprompt() from the first
zrefresh() won't expand the prompt an extra time.
2008-03-11 14:31:09 +00:00
Peter Stephenson
5a52e1ee80
24551: Free heap memory after every ZLE command
2008-02-14 15:21:35 +00:00
Peter Stephenson
1ee6295909
24279: allow terminal changes after zle -I to be acquired by main shell
2007-12-18 10:42:36 +00:00
Peter Stephenson
724f55afda
24240: make vared check for trailing garbage earlier
2007-12-13 21:56:18 +00:00
Geoff Wing
29a869d5a8
23924: Improve synchronising of character attributes with other
...
output routines
2007-10-19 01:33:09 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
6ab77f00ff
23488: tidy up module interface and documentation
2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
b5d4d3d9c1
23433: fix shift for ZMAXTIMEOUT
2007-05-13 19:11:24 +00:00
Peter Stephenson
62b671f0d1
23159 plus minor doc tweaks: leave BAUD parameter unset by default
2007-02-08 10:43:28 +00:00
Peter Stephenson
aba936b17c
22981: Zvi Har'el: bad call from 22952
...
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
006229c32e
22924: a couple more metafy_line()/unmetafy_line() problems
2006-10-30 14:13:36 +00:00
Peter Stephenson
8f98285662
22765: rename some MB_ macros to WC_ for consistency.
2006-09-23 20:25:05 +00:00
Peter Stephenson
b477e24aa2
22727: "use 'exit' to exit" was suboptimal
2006-09-17 17:42:56 +00:00