Commit 14daf0e
committed
Fix copying on mac
pbcopy doesn't carae about utf I guess so a bunch of utf characters are
garbled when copied. Use the OSC52 ANSI escape sequence instead to have
the terminal copy for us. Keep clipboard.WriteAll for max supoprt (even
when the terminal doesn't support OSC52)
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>1 parent de728c3 commit 14daf0e
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
849 | 852 | | |
850 | 853 | | |
851 | 854 | | |
| |||
0 commit comments