Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-11 | 45004: Fix typos in comments | Martijn Dekker | 1 | -1/+1 | |
2019-06-19 | fix multiple bugs in countprompt | romkatv | 1 | -8/+27 | |
1. Height off by one in the presence of meta characters at the end of the line. The following prompt has height 2 but countprompt used to return 3. PROMPT="${(pl.$COLUMNS..-.)}%f"$'\n' You can observe the effects of the bug with esc-x followed by reset-prompt. 2. Width off by one when a line is broken in the middle of a wide character. Assuming COLUMNS=79, the following prompt has width 2 but countprompt used to return 0. PROMPT="${(pl.40..\u3050.)}" zsh -df Press ctrl-r or type ls<tab> to observe the effects of the bug. 3. Width off by 1-7 when a line is broken in the middle of a tab. Assuming COLUMNS=79, the following prompt has width 1 but countprompt used to return 0. PROMPT="${(pl.10..\t.)}" zsh -df Press Ctrl-R or type ls<TAB> to observe the effects of the bug. | |||||
2019-04-18 | 43288: fix line-broken prompts | dana | 1 | -3/+8 | |
Without re-breaking the case where a newline character lands in column 0. | |||||
2019-02-03 | 44030: prompt: Return error for unrecognised colour name | dana | 1 | -0/+2 | |
2019-01-23 | 44011: Only use fg_start_code for non-truecolor | Mikael Magnusson | 1 | -10/+23 | |
The sequence for truecolor uses a different prefix from palette colors | |||||
2018-12-30 | users/23809: ZLE_HIGHLIGHT extensions. | Peter Stephenson | 1 | -4/+26 | |
Allow non-termcap use of colours > 7. Add tests. | |||||
2018-11-08 | 43805: make nearcolor module use the default colour rather than black as a ↵ | Oliver Kiddle | 1 | -1/+3 | |
fallback | |||||
2018-11-08 | 43804: also need to be able to turn colour attributes back into hex triples ↵ | Oliver Kiddle | 1 | -4/+12 | |
for region_highlight variable | |||||
2018-11-05 | 43759: add support for true colour terminals | Oliver Kiddle | 1 | -44/+60 | |
2018-11-05 | 43747: new module to map colours from hex triplets to the nearest matching ↵ | Oliver Kiddle | 1 | -1/+18 | |
colour | |||||
2018-06-20 | 43075: Support nanosecond-precision time formatting | dana | 1 | -5/+4 | |
* Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059 | |||||
2018-01-16 | 42285: off by one fix in multiple prompts | Warepire | 1 | -1/+1 | |
2018-01-14 | 42136: empty string check in %~ / %C prompt expansions | Barton E. Schaefer | 1 | -1/+1 | |
2017-05-09 | 41078: Empty psvar could cause bad dereference in prompt expansion | Peter Stephenson | 1 | -1/+1 | |
2017-01-03 | 40260: zero new space allocated in prompt buffer | Paulo Andrade | 1 | -0/+1 | |
2016-10-03 | 39545: Add some missing unqueue_signals(). | Peter Stephenson | 1 | -1/+3 | |
All of these are added simply to fit existing logic in other branches. | |||||
2016-08-01 | 38971: Start using the new arrlen_ge() / arrlen_le() helpers. | Daniel Shahaf | 1 | -3/+3 | |
2016-07-08 | 38809: fix tracking of colour attributes and restore them when turning bold off | Oliver Kiddle | 1 | -4/+8 | |
2016-02-03 | 37868: add 'static' to file local variables | Jun-ichi Takimoto | 1 | -1/+1 | |
2015-08-18 | 36227: attempt to fix metafication problem with ztrftime. | Peter Stephenson | 1 | -3/+5 | |
fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls. | |||||
2015-06-12 | Add non-metafied character length handling. | Peter Stephenson | 1 | -1/+1 | |
Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters. | |||||
2015-01-18 | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 1 | -1/+1 | |
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy. | |||||
2014-12-11 | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 1 | -2/+5 | |
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-09-27 | 33256: fix prompttrunc() counting of %{ %} spans | Barton E. Schaefer | 1 | -8/+6 | |
2014-08-30 | 33070: add %(e..) based on %e | Barton E. Schaefer | 1 | -0/+11 | |
2014-08-29 | 33057: %e in prompts shows evaluation / execution depth | Peter Stephenson | 1 | -0/+13 | |
2014-08-07 | 32971: negative argument with %(l..) and with %<< or %>> calculates space ↵ | Barton E. Schaefer | 1 | -3/+13 | |
available before right margin | |||||
2014-07-30 | 32918: add %. to ztrftime for use in prompts | Peter Stephenson | 1 | -3/+5 | |
2013-03-10 | 30496: Parse argument to %F and %K as prompt sequences | Mikael Magnusson | 1 | -14/+29 | |
2012-03-05 | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long | Peter Stephenson | 1 | -0/+16 | |
2011-05-09 | 29165: use term.h globally if needed at all. | Peter Stephenson | 1 | -3/+3 | |
2011-03-04 | 28853: Fix typo: preceed -> precede | Frank Terbeck | 1 | -1/+1 | |
2010-06-03 | 27983: colours could be output twice | Peter Stephenson | 1 | -1/+6 | |
2009-07-10 | 27125: handle nested use of colour code buffer allocation | Peter Stephenson | 1 | -2/+14 | |
2009-05-12 | 26958: Fix reallocation problem in prompts | Peter Stephenson | 1 | -0/+3 | |
2008-10-24 | 25930: dynamic directory expansion memory handling was screwy | Peter Stephenson | 1 | -196/+222 | |
2008-09-29 | 25775: fix logical problem with function line numbering inside eval-style traps | Peter Stephenson | 1 | -2/+2 | |
2008-09-25 | 25684: make %x and %I consistent with eval line numbering | Peter Stephenson | 1 | -2/+4 | |
2008-09-16 | 25677: add %x and %I prompt escapes for shell source code debugging | Peter Stephenson | 1 | -0/+26 | |
tidy up interface to doshfunc() | |||||
2008-09-15 | 25672: remove unnecessary Nularg when prompt expanding | Peter Stephenson | 1 | -0/+6 | |
to avoid problem with glitch space | |||||
2008-06-24 | 25242: Mikael V prompt test for contents of psvar | Peter Stephenson | 1 | -0/+6 | |
2008-05-16 | 25051: add colour sequences to formatting strings in completion | Peter Stephenson | 1 | -3/+1 | |
2008-05-12 | 25002: only ZLE should update attributes resulting from prompt expansion | Peter Stephenson | 1 | -33/+37 | |
2008-05-09 | unposted: fix uninitialised variable | Peter Stephenson | 1 | -1/+1 | |
2008-05-09 | 24986: prompt escapes for colours | Peter Stephenson | 1 | -20/+539 | |
2008-04-22 | 24861 (with tweaks): logic to use alternative wcwidth() if needed; | Peter Stephenson | 1 | -4/+4 | |
slightly improve test for overwriting with combining characters. | |||||
2008-02-17 | 24566: fix prompts with glitch spaces a bit more | Peter Stephenson | 1 | -7/+24 | |
2008-02-15 | 24556: %G in prompt for glitch characters | Peter Stephenson | 1 | -0/+10 | |
2007-11-20 | add some mod_export tags where needed | Peter Stephenson | 1 | -1/+1 | |
2007-10-22 | 24007: prompt allocation and use of "shout" | Peter Stephenson | 1 | -2/+2 | |