-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Make Enter
work inside Description
field in TUI
#253
Comments
Shift+Enter perhaps? |
@NickSeagull Yep, Shift+Enter is better idea. Makes it more consistent with other editors and chats 🙂 Last time we tried it, it didn't work for some unknown reason. Probably can try again and if there're some bugs in libraries, can come up with minimal reproducible example. |
Hi, I intend to give this a try using |
@yigitozkavci Sure, go ahead! |
Hmm, modifiers other than "Alt" are not being sent to event handler. This should be the issue you were observing. For now I'll create a PR with |
@yigitozkavci Having Alt+Enter as a solution seems fine, if there's no way to support Shift. Maybe the issue with Shift can be investigated first? Maybe we can open a bug request to |
@chshersh That makes sense. I have a working version with Alt+Enter now. I'll try upgrading |
* Allow switching to newline in project description field * Add CHANGELOG entry for issue #253 * Attempt to split description into lines in cabal file * Support newlines in cabalfiles * Support newlines for Github project description * Convert multiline description to single line in Cabal files * Handle specific fields for newlines * Process description before creating settings type * Add a type signature for handleNewLine * Clarify feature in CHANGELOG entry * Make newLine function specific to project description
Currently
Description
input field contains two lines, but Enter doesn't work there because we create projects on Enter. It's also not that clear how to handle this situation...The text was updated successfully, but these errors were encountered: