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

Cannot Use Arrow Key in REPL. #74

Closed
esehara opened this issue Dec 8, 2011 · 1 comment
Closed

Cannot Use Arrow Key in REPL. #74

esehara opened this issue Dec 8, 2011 · 1 comment

Comments

@esehara
Copy link

esehara commented Dec 8, 2011

Env: Ubuntu 11.01.

I use Arrow Key in Nimrod REPL,I don't expected the behavior.

>>> ^[[A^[[D^[[D^[[D

I think UP or Down Key is "History",And Right or Left Key is "Move Cursor".

@Araq
Copy link
Member

Araq commented Dec 8, 2011

Bootstrap with -d:useGnuReadline to get that behaviour.

@Araq Araq closed this as completed Dec 8, 2011
krux02 pushed a commit to krux02/Nim that referenced this issue Jan 11, 2022
74: Nonref object inheritance hints and converts to base in varargs a… r=saem a=beef331

…nd on assignment

This should make it so non ref objects can be used as one expected. `varargs[Base]` can accept `[Base, Derived, Base, Derived2]` and so forth. It also makes it so any object conversion up or down(Though down conversion is explicit so no clue why it checks) emits a hint to inform about loss of possible information. `var a: Base = Derived(field2: 300)` emits `'Derived(field2: 300)' implicitly converted to 'Base' [/home/jason/nimskull/bin/abuse.nim(26, 22)] [ImplicitObjConv]`

Co-authored-by: Jason <beefers331@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants