mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-05 01:10:17 +00:00
54119: fix OSC52 clipboard get with empty clipboard
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2025-11-30 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 54119: Src/Zle/termquery.c: fix OSC52 clipboard get with
|
||||
empty clipboard
|
||||
|
||||
2025-11-27 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted (c.f. Bart: 54112): Src/params.c: remove Unicode
|
||||
|
||||
@@ -626,7 +626,7 @@ system_clipget(char clip)
|
||||
{
|
||||
static seqstate_t osc52[] = OSC52_STATES;
|
||||
char seq[] = "\033]52;.;?\033\\";
|
||||
char *contents;
|
||||
char *contents = NULL;
|
||||
seq[5] = clip;
|
||||
probe_terminal(seq, osc52, &handle_paste, &contents);
|
||||
return contents;
|
||||
|
||||
Reference in New Issue
Block a user