1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00
Commit graph

110 commits

Author SHA1 Message Date
Peter Stephenson
34656ec2f0 40305: fix some problems redisplaying command line after interrupt.
Back off previous fix as this only covered some subset of problems.

Remaining problems happend after reset-prompt in TRAPINT.

One was in complist and is fixed by not attempting to list after
an error or interrupt.

The other was owing to not resetting clearflag when ZLE
was re-entered.
2017-01-10 19:18:52 +00:00
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Oliver Kiddle
e87aa8941f 38809: fix tracking of colour attributes and restore them when turning bold off 2016-07-08 22:28:15 +02:00
Barton E. Schaefer
564fb25e82 38048: fix "zle redisplay" when called while a listing is below the prompt 2016-03-03 13:03:40 -08:00
Barton E. Schaefer
c3f4d18e4f 38001: clear-screen re-expands prompts 2016-02-17 20:04:25 -08:00
Daniel Shahaf
fcd13cdaae 37456: Have zle_highlight=(none) disable paste highlighting
Before this change, zle_highlight=(paste:none) worked,
but zle_highlight=(none) didn't.
2015-12-31 01:16:06 +00:00
Daniel Shahaf
c76f4f96a6 36443: Set zle_highlight=(paste:standout) by default. 2015-09-11 21:49:39 +00:00
Peter Stephenson
32f5d3d8c1 36416: ^C in getzlequery() just aborts query.
Also logical but possibly invisible fix for error propagated
back from listing interface.
2015-09-03 17:52:40 +01:00
Oliver Kiddle
b4aff3bc52 35824: allow highlighting of just pasted text and put text from bracketed paste in cut buffers 2015-07-23 05:36:27 +02:00
Daniel Shahaf
e11ad500dd 34070: fix starting position for memset() from 34005. 2014-12-28 20:11:09 -08:00
Peter Stephenson
fd934e1187 34005: region_highlights memory fix
Zero uninitialised part of memory when reallocing
2014-12-19 21:55:31 +00:00
Peter Stephenson
04e555a92e 33981: more care with region_highlights management 2014-12-18 18:54:55 +00:00
Oliver Kiddle
d29e02c1a3 33704: keybindings, documentation, tests and minor
fixes for vim style visual selection changes
2014-11-17 23:01:00 +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
Peter Stephenson
15222bcdcb Fix some compiler warnings in Zle 2014-09-30 09:58:19 +01:00
Barton E. Schaefer
f61037a0b0 32531: fix memory leaks detected by valgrind 2014-04-06 09:55:49 -07: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
Barton E. Schaefer
ba58bfe4bf 32365: another stab at the heuristic for initializing rprompt_indent 2014-02-08 14:49:39 -08:00
Barton E. Schaefer
9cacf4411f 32157: fix extra line feed after prompt, and erased character in completion listing, when ZLE_RPROMPT_INDENT=0 2013-12-18 23:45:20 -08:00
Patrick Oscity
977f9ff5c8 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right 2013-12-16 21:35:21 +00:00
Peter Stephenson
9b923cccea 30084: `zle -T tc func' for zle testing of termcap output 2012-01-05 20:01:24 +00:00
Mikael Magnusson
cd3acd762d 29681: use [] to dereference region_highlights 2011-08-17 10:15:49 +00:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00:00
Peter Stephenson
d89361739a 29165: use term.h globally if needed at all. 2011-05-09 09:49:08 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
655174ca42 uncommitted: fix properly 2010-12-17 23:05:31 +00:00
Peter Stephenson
a9421446d2 Mikael: users/15653: zle_highlight=(none) turns off suffix highlighting
unposted: note suffix highlighting in NEWS
2010-12-17 14:01:23 +00:00
Peter Stephenson
73d622e9c4 28363: fix insert bug refreshing zle with wide characteter 2010-10-25 14:59:18 +00:00
Peter Stephenson
467cd12e13 Mikael: 28356: don't increment old display line too far when refreshing 2010-10-17 17:59:27 +00:00
Peter Stephenson
8e5061d0c6 28160, 28164: fix redisplay problem after display reset 2010-08-13 08:52:06 +00:00
Peter Stephenson
edcd71603d Daiki Ueno: 28112: fix character width assignment 2010-08-02 09:02:30 +00:00
Peter Stephenson
b16923b096 27812: display invalid bytes in multibyte characters specially 2010-03-22 19:46:53 +00:00
Peter Stephenson
7bc089c6be Mikael: 27453: highlighting for removable completion suffixes
27466: document it
2009-12-05 19:38:07 +00:00
Peter Stephenson
c18b6c2c99 26956: tidy up some zle variables for module unloading
note issue found on HP-UX
2009-05-11 09:03:25 +00:00
Peter Stephenson
6195160598 26984: ensure zle window sizes are reset with video data 2009-05-08 08:37:31 +00:00
Peter Stephenson
7e5d340abe 26393: turn off text attributes in refresh when deleting text 2009-01-13 16:05:46 +00:00
Peter Stephenson
1e9b85e586 François Revol: some BeOS fixes 2008-11-18 10:14:35 +00:00
Peter Stephenson
b0e0d901b2 users/13375: trivial rewrite to ternary expression 2008-10-23 08:52:02 +00:00
Peter Stephenson
38e0badcc3 25236: don't recalculate prompt if not redisplaying 2008-07-22 19:54:29 +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
c811a18d44 24986: prompt escapes for colours 2008-05-09 17:33:49 +00:00
Peter Stephenson
0ef4ecefc7 24957: better sanity checking of colour ranges
always use termcap for numeric ranges where available
2008-05-06 21:33:10 +00:00
Peter Stephenson
74e5fcee38 24953: "default" zle_highlight; fix allocation bug in colour sequences 2008-05-06 18:19:14 +00:00
Peter Stephenson
88126c0110 24932: try to fix up code that regularizes attributes after right prompt 2008-05-06 09:23:06 +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
497a34d249 24894: enable colouring of highlighted text in editor 2008-04-29 17:19:26 +00:00
Peter Stephenson
f5ed24f47e 24893: duplicate statusline to avoid crashes when constant 2008-04-29 08:43:38 +00:00
Peter Stephenson
91a10708b2 24822: highlighting of isearch matches
unposted: not in NEWS that COMBINING_CHARS is not on by default
2008-04-26 22:52:50 +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