Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FurryR/xterm: add extension #1584

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

FurryR/xterm: add extension #1584

wants to merge 2 commits into from

Conversation

FurryR
Copy link
Contributor

@FurryR FurryR commented Jul 3, 2024

xterm


Features

  • appearance: adjust theme / font size / xterm.js features / etc. Transparency colors are supported (buggy, input buffer settings also affects input).
  • input: handle raw / buffered input in your game / application. Support almost all keys and even multi-byte inputs such as Japanese.
  • output: print colored texts, and it is just enough.
  • events: handle mouse events. Useful when programming advanced console applications / games.
  • utility: things that might help the development or migration of your application.

Additional information

  • Input buffer / web link / ligatures / mouse events are disabled in default, although they might be useful.
  • cursor wrapper once saves your cursor position, executes the branch, then restores the cursor position when the code finishes. It is useful when drawing windows.
  • Positions are zero-based. x stands for column, y stands for row.
  • It may requires an extra extension to deal with JSON event data.

Notice

Please do not publish Gandi IDE projects with this extension before it gets merged / closed by Turbowarp (alternatively, use Gandi Terminal). Please do not publish the extension on Gandi asset store. You can still try the extension on Gandi IDE.

Please ask for my confirmation before you port this extension to Gandi IDE.

Example project (migrated)

Modified version of Linux 6.1.14-rv32ima On Scratch by bilman66, provides a way better serial input/output system.

FurryR added 2 commits July 3, 2024 20:25
For approvement (human-readable version) please check previous commit.

Signed-off-by: FurryR <[email protected]>
@FurryR
Copy link
Contributor Author

FurryR commented Jul 3, 2024

For approval please check 81b115b instead of d2cdf69.

@FurryR
Copy link
Contributor Author

FurryR commented Jul 3, 2024

This extension's kinda over-complicated but who cares?

@FurryR
Copy link
Contributor Author

FurryR commented Jul 3, 2024

Preview

All blocks preview

@unknown07724
Copy link

this is basically python but it uses javascript

@FurryR FurryR marked this pull request as draft July 4, 2024 11:00
@FurryR
Copy link
Contributor Author

FurryR commented Jul 4, 2024

This extension requires #1591 to be merged. Now its marked as draft.

@FurryR FurryR marked this pull request as ready for review October 13, 2024 13:47
@FurryR
Copy link
Contributor Author

FurryR commented Oct 13, 2024

Well, it seems that #1559 is impossible to be merged. I will just open this PR again.

@GarboMuffin GarboMuffin added the pr: new extension Pull requests that add a new extension label Oct 14, 2024
@yuri-kiss
Copy link
Member

Please remind me to review this when I have time 🙏

@yuri-kiss yuri-kiss self-assigned this Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new extension Pull requests that add a new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants