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

Use StyledStrings for REPL prompt styling #51887

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Nov 1, 2023

  1. Update StyledStrings version

    This gets us two commits of interest:
    - Replace within-module eval with hygienic eval: which makes it possible
      to include StyledStrings in the sysimage without running into
      precompile errors.
    - Load the JULIA_*_COLOR env vars for compat: which mirrors the current
      behaviour to the relevant faces.
    tecosaur committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    621e646 View commit details
    Browse the repository at this point in the history
  2. Load StyledStrings in REPL

    By loading the StyledStrings stdlib in REPL, we load the privateered
    print/show methods for the Annotated{String,Char} types defined there.
    
    This is nice to have, because it means that styled annotated strings can
    be constructed in Base and elsewhere without loading the StyledStrings
    stdlib, but they will be displayed as intended in the REPL.
    tecosaur committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    887c3ee View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. start poking around

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    40af7f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8820b92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    045d5e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1039f60 View commit details
    Browse the repository at this point in the history
  5. Note to self

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    498cfa8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a30278a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    212a1b1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36b2a21 View commit details
    Browse the repository at this point in the history
  9. Remove notes file

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    7631901 View commit details
    Browse the repository at this point in the history
  10. Clean up some mess

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    30545b7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    51309a6 View commit details
    Browse the repository at this point in the history
  12. Remove comments

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    dfbf552 View commit details
    Browse the repository at this point in the history
  13. Remove some whitespace

    caleb-allen committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    25f50f6 View commit details
    Browse the repository at this point in the history