Comments (3)
Strangely, this does work within powershell:
gcc test.c -Wall -fdiagnostics-urls=always 2> warning.txt
type warning.txt
as does:
printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'
from w64devkit's shell.
from terminal.
Actually, this is probably GCC's fault somehow
It seems to be doing some weirdness here:
https://github.com/gcc-mirror/gcc/blob/21e7aa5f3ea44ca2fef8deb8788edffc04901b5c/gcc/pretty-print.cc#L661-L701
/* If it is not a console, write everything as-is. */
write_all (h, read, strlen (read));
This would also explain why the redirection helps.
from terminal.
I did some more digging in GCC and there are multiple causes that result in this. It's not an issue with windows terminal, but I have some questions still. Can someone convert this to a discussion?
from terminal.
Related Issues (20)
- encoding problem HOT 7
- Leading tabs in pasted text can be interpreted as tab-completion instead of tab character (\t) HOT 4
- Regression in launching links HOT 4
- Current clipboard text is pasted into the terminal when dragging the current tab page HOT 8
- [UI] there is a top edge white line HOT 3
- Alt + numpad combination does not work anymore HOT 4
- move the tab,the copied text will be pasted into the inputbox of the active tab HOT 3
- An attempt to improve performance of terminal/parser HOT 1
- Duplicate tab does not use the same command as the original tab HOT 4
- `exit` comand is not working when `code .` is opened HOT 1
- Windows PowerShell remote ssh vim copy to clipboard not works HOT 3
- An app opened from inside Terminal stays behind Terminal (but above other apps) HOT 2
- Windows Terminal crashes when combining duplicateTab with moveTab in multipleActions
- Incorrect emoji widths with conhost and openconsole
- regex search occasionally hits bounds assert in UTextAdapter HOT 1
- Allow 3p suggestion sources HOT 1
- please make windows terminal into microsoft terminal with gtk3 buttons HOT 3
- `powershell.exe` starts a new console rather than attaching to current when not elevated HOT 6
- Wrapping over multiple lines in a single write fails in conhost
- Windows Terminal Preview consistently crashes when closing panes in certain layouts HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.