1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-17 12:41:14 +02:00
Commit graph

89 commits

Author SHA1 Message Date
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
Peter Stephenson
5a0c547e91 24856: add IS_COMBINING() and IS_BASECHAR() and widen tests 2008-04-21 11:49:55 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Wayne Davison
23bbf18d41 Fixed some compiler warnings about signed/unsigned issues. 2008-04-18 13:50:53 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
7683ec28aa 24792: try to be safer about turning off attributes when refreshing 2008-04-04 16:32:15 +00:00
Peter Stephenson
e5d8a42249 24787: reset region_highlight when finished editing command line 2008-04-03 15:33:39 +00:00
Peter Stephenson
2c5ea79f17 24782: initial go at highlighting of characters in zle command lines 2008-04-03 11:38:55 +00:00
Peter Stephenson
088e8a9c8d 24434: handle unprintable and zero-width wide characters
by displaying as hex
2008-01-22 10:14:01 +00:00
Peter Stephenson
4497b2b1b7 24371: bug refreshing large scrolling history entry 2008-01-08 15:07:02 +00:00
Peter Stephenson
104fccc31e 24362: problem redrawing line with multibyte character first 2008-01-05 13:12:56 +00:00
Geoff Wing
a5dd64f024 24098: Fix my botch with 23924, rework out new prompts and
their lengths before use in resetvideo().
2007-11-23 00:19:23 +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
55b7a07a7e 23791: use VARARR for MB_CUR_MAX
users/11791: remove mysterious comment around emulate -L zsh in
incremental-complete-word
2007-08-22 09:25:32 +00:00
Peter Stephenson
3d6f87fccc fix output of prompt in single line ZLE 2007-03-19 22:27:45 +00:00
Wayne Davison
4817964a07 Got rid of unused-variable compiler warning when compiling a
non-multibyte zsh.
2006-01-13 17:46:09 +00:00
Wayne Davison
70de60a962 The new "eol" var was being set in singlerefresh(), but not accessed. 2006-01-12 08:33:15 +00:00
Wayne Davison
542797377a - When mbrtowc() returns -2 when given all the remaining chars in a
string, set an end-of-line flag and avoid calling mbrtowc() again
  for any of the incomplete characters that remain in the string.
- Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
2006-01-12 00:51:50 +00:00
Wayne Davison
9cf3f9ad71 The return value of mbrtowc() is a size_t (unsigned), so don't
assign it to an int and then check if it's > 0, as that won't
work on a system where an int is larger than a size_t.
2006-01-09 00:17:24 +00:00
Peter Stephenson
09a854378a 22009: another double-width character fix 2005-11-21 15:22:12 +00:00
Peter Stephenson
8a9c9d8078 21971: multibyte version of pfxlen() 2005-11-01 23:10:17 +00:00
Wayne Davison
f53996f14b I just noticed that zsh's default icntrl() macro returns true for
chars 128 - 159, so the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))"
code needed to be updated to reflect this.
2005-11-01 04:02:02 +00:00