[WIP] Make serial monitor hyperlink-aware#5804
Open
facchinm wants to merge 3 commits intoarduino:masterfrom
Open
[WIP] Make serial monitor hyperlink-aware#5804facchinm wants to merge 3 commits intoarduino:masterfrom
facchinm wants to merge 3 commits intoarduino:masterfrom
Conversation
Member
The HTML view only activates if: - the output is steady - the "frame" contains a link - the length of the entire content is < 1KB No performance penalty compared to normal view (in standard conditions)
ee3319d to
1294f86
Compare
Contributor
|
✅ Build completed. Please test this code using one of the following: ⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5804-BUILD-706-linux32.tar.xz ℹ️ The |
Contributor
Member
Author
|
I think it might still be valuable for some Serial monitor based IoT tutorials, maybe with a better implementation 🙂 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add hyperlink listener capabilities to the serial monitor.
The links are automatically created if http/https/ftp pattern is found, but a full
<a href ... </a>style can be used and the output won't be mangled (useful if you want to make clickable links with loooong URLs).No corner case is considered, cpu usage could ramp to 1000% or similar, so use it with a grain of salt (and report any unexpected behaviour/bug)