Newline consumed when typing a literal #11

Open
opened 2021-03-30 17:06:56 +13:00 by BrychanD · 0 comments
Owner

When typing a literal that has newline characters, they are consumed when the enter button is pressed

i.e.:

Enter a command:
set apple "trees are
>very big
>and perhaps
>round";
Enter a command:
list
>;
┌───────────────┬────────────────────────────────────────────────────────────┬─────┐
│    Symbol     │                           Value                            │Flags│
├───────────────┼────────────────────────────────────────────────────────────┼─────┤
│apple          │trees arevery bigand perhapsround                           │00000│
└───────────────┴────────────────────────────────────────────────────────────┴─────┘
When typing a literal that has newline characters, they are consumed when the enter button is pressed i.e.: ``` Enter a command: set apple "trees are >very big >and perhaps >round"; Enter a command: list >; ┌───────────────┬────────────────────────────────────────────────────────────┬─────┐ │ Symbol │ Value │Flags│ ├───────────────┼────────────────────────────────────────────────────────────┼─────┤ │apple │trees arevery bigand perhapsround │00000│ └───────────────┴────────────────────────────────────────────────────────────┴─────┘ ```
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BrychanD/159.341_Assignment_1#11
No description provided.