You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes
Apps: the app object from runApp has done(), a promise that settles with the app's exit code when it stops: 0 for stop(), the code given to exit(), or 130 for an unhandled Ctrl+C. Awaiting it lets an unhandled Ctrl+C stop the app and return control to the caller instead of exiting the process.
Input: a bracketed paste whose end marker is split across reads now ends correctly, so keys typed after the paste are not read as pasted text.
Markdown: quotes and lists nest up to 16 levels. Deeper input is laid out as text instead of exhausting the stack.
Testing: press("space") sends the key a terminal sends for Space: name: "char", text: " ", and base: "space".
Text: wrap("") returns no lines. Text made only of line breaks keeps its empty lines.
Textarea: typing at the start of text that begins with a line break inserts the character before it.