Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Oliver Kiddle
7a4a309973
33860: minor fixes to vi mode changes
2014-12-05 20:13:33 +01:00
Oliver Kiddle
d2505f108e
33823: overwrite mode shouldn't replace newlines
2014-11-30 23:37:01 +01:00
Oliver Kiddle
36878852ef
33636: add support for a linewise visual selection mode
2014-11-17 22:50:34 +01:00
Oliver Kiddle
492b6cec28
33635: adapt region to function as vim style visual selection mode
2014-11-17 22:47:59 +01:00
Oliver Kiddle
0ea8f28e7b
33700: new widget for put in vim style visual selection mode
2014-11-17 16:32:04 +01:00
Oliver Kiddle
fd302c9837
33570, 33576: make killring/yank-pop work in vi mode after
...
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
m0viefreak
cd2eb07a78
m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
...
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting
Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Carl Drougge
60372fbda6
32196: copy-prev-shell-word needs a lexer flag
2014-01-02 20:49:04 +00:00
Peter Stephenson
0a5702457b
28510: add (z+c+) and (z+C+) parameter flags
2010-12-12 22:44:50 +00:00
Peter Stephenson
e61af474c1
26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARS
2009-04-24 09:00:29 +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
b2d08a2155
25744: dynamic named directories and further doshfunc() simplification
2008-09-26 09:11:27 +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
Peter Stephenson
1424e923b1
24915: some more fix-ups for combining characters
2008-05-04 18:30:02 +00:00
Peter Stephenson
62b7e68a63
unposted: fix overwrite without MULTIBYTE_SUPPORT
2008-04-23 21:08:31 +00:00
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
a58d02fd2e
24860: better overwrite mode
2008-04-21 17:58:58 +00:00
Peter Stephenson
f9224e5a04
24859: combining chars: overwriting and vi replace and append
2008-04-21 17:30:34 +00:00
Peter Stephenson
3cf29e7513
24853: bits missed from patch
2008-04-20 21:19:52 +00:00
Peter Stephenson
b8ec06c870
24853: use metafied strings for inner loops over history
2008-04-20 21:17:29 +00:00
Peter Stephenson
1875c12734
24819: fix transposing characters and sneaky combination generation
2008-04-15 16:49:55 +00:00
Peter Stephenson
fe6d34f024
24816: some places where we need cursor alignment with combining characters
2008-04-14 14:57:52 +00:00
Peter Stephenson
97dcf15556
24808: initial support for combining characters in zle
2008-04-13 16:58:42 +00:00
Peter Stephenson
bc32da6a67
24786: handle read -t properly in zle via getbyte()
2008-04-03 15:20:18 +00:00
Peter Stephenson
4af9d97317
23807: fix interactive completion mode
2007-08-30 14:38:26 +00:00
Peter Stephenson
c6dfb2999d
users/11419: zle copy-region-as-kill <string>
...
adds text to the kill ring
2007-04-19 14:16:22 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Wayne Davison
587db0585c
Call ZS_memchr() instead of plain memchr() so that suffix-removal
...
works again.
2006-02-09 22:14:49 +00:00
Peter Stephenson
94953f70b9
22124: handle bad multibyte input better
2006-01-06 14:23:00 +00:00
Wayne Davison
37e08571a4
Fixed parsedigit() to have it use its arg instead of "lastchar".
2005-11-30 16:49:44 +00:00
Peter Stephenson
e66af50a98
22014: argument-base, insert-unicode-char
2005-11-24 10:25:33 +00:00
Wayne Davison
2288d7760b
Got rid of some compiler warnings about comparisons between signed
...
and unsigned variables.
2005-11-15 09:34:00 +00:00
Wayne Davison
e79af955f0
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:17 +00:00
Peter Stephenson
e366ca8dbf
users/9638: tweaks for FCEDIT etc.
...
21986: rewrite completion suffixes for wide characters
2005-11-07 09:37:34 +00:00
Peter Stephenson
6bca0ecb48
users/9610: handle digit argument when copying words
2005-11-02 11:09:22 +00:00
Peter Stephenson
29b0eda154
21973: typo caused digitargument() not to work
2005-11-02 10:11:32 +00:00
Wayne Davison
b043969570
- A few changes in light of the new ZLE_CHAR_T and ZLE_STRING_T.
...
- Use idigit() in place of some former '0' - '9' range checks.
- Simplified some multibyte conditional code by using ZC_icntrl()
and LASTFULLCHAR.
2005-11-01 03:26:52 +00:00
Peter Stephenson
aea7715261
21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
...
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
d33c6e502a
21722: fix multibyte word stuff
2005-09-09 20:34:42 +00:00
Peter Stephenson
5831792752
21717: Src/Zle/zle_misc.c: fix execute-named-command and -where-is
...
with multibyte support
2005-09-09 13:48:59 +00:00
Peter Stephenson
d39b9fabdb
21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF
2005-09-09 11:48:27 +00:00
Peter Stephenson
8b3558c5ed
21616: typo
2005-08-15 15:47:53 +00:00
Peter Stephenson
243539fa30
21610: Turn on ZLE_UNICODE_SUPPORT and fix a few related problems.
2005-08-15 10:01:47 +00:00
Peter Stephenson
2a888b3d5a
c.f. 21590: metafy_line()/unmetafy_line() now support wide characters
2005-08-10 10:56:40 +00:00
Peter Stephenson
8665549030
21541: remove some warnings from ZLE_UNICODE_SUPPORT
2005-07-28 14:45:32 +00:00
Peter Stephenson
15b78be794
20966: fix crash in execute-named-command
2005-03-11 10:33:39 +00:00
Peter Stephenson
9edff429d8
20945: rename statics to avoid clash with globals
2005-03-07 11:11:18 +00:00
Peter Stephenson
29b6b82ade
20866: fix deliberate errors in 20861
2005-02-24 21:10:44 +00:00
Peter Stephenson
691dd7e529
20861: Fix statusline in Unicode, apart from isearch
2005-02-24 15:32:36 +00:00