Skip to content

Commit

Permalink
Merge pull request #970 from candy-lang/968-ascii-package
Browse files Browse the repository at this point in the history
Create Ascii package
  • Loading branch information
jwbot authored Mar 21, 2024
2 parents 888674e + d216a98 commit c5cdd2a
Show file tree
Hide file tree
Showing 7 changed files with 401 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
- changed-files:
- any-glob-to-any-file:
- packages/AnsiTerminalColors/**/*
'P: Ascii':
- changed-files:
- any-glob-to-any-file:
- packages/Ascii/**/*
'P: Builtins':
- changed-files:
- any-glob-to-any-file:
Expand Down
1 change: 0 additions & 1 deletion packages/AnsiEscapeSequences/_.candy
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
colors := use ".colors"
controlSequences := use ".controlSequences"
graphicRenditions := use ".graphicRenditions"
[escapeCode] := use ".escapeCode"
4 changes: 2 additions & 2 deletions packages/AnsiEscapeSequences/controlSequences.candy
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_(Control_Sequence_Introducer)_sequences

ascii = use "Ascii"
[int, text] = use "Core"
[escapeCode] = use "..escapeCode"

controlSequenceIntroducer := "{escapeCode}["
controlSequenceIntroducer := "{ascii.escape}["

cursorUp lineCount :=
# Moves the cursor `lineCount` lines up.
Expand Down
3 changes: 0 additions & 3 deletions packages/AnsiEscapeSequences/escapeCode.candy

This file was deleted.

Loading

0 comments on commit c5cdd2a

Please sign in to comment.