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

Allow choice of Pointer #24

Open
Tarzan5 opened this issue Nov 9, 2018 · 6 comments
Open

Allow choice of Pointer #24

Tarzan5 opened this issue Nov 9, 2018 · 6 comments

Comments

@Tarzan5
Copy link

Tarzan5 commented Nov 9, 2018

For the list/checkbox types, the pointer is the unicode character U+276F. Windows command prompt seems to have an issue with displaying that character (see screenshot). Note: Notepad displays the symbol correctly using the same font, so it's not an issue with the font. Would be nice if we could choose the pointer symbol too, just like we can choose the 'qmark' symbol. Thanks.

capture2

@CITGuru
Copy link
Owner

CITGuru commented Nov 14, 2018

Sorry for late response, I actually looked into this, I noticed that is the default pointer from prompt_toolkit

@rigogsilva
Copy link

Can you change the default?

@CITGuru
Copy link
Owner

CITGuru commented Nov 17, 2018

@rigogsilva I am not sure, I did some research on it and I notice there was nothing like that. So I am trying to look at the python-prompt-toolkit - 1.0, if we could change this.

@CITGuru
Copy link
Owner

CITGuru commented Nov 21, 2018

I dont think we could change it for now, If any one has an idea how to, you can suggest a bug fix

@BlackJack1412
Copy link

BlackJack1412 commented Apr 29, 2020

Hello, we can change the pointer by modifying
\u276f to other character
PyInquirer 1.0.3:

  • list.py:
    tokens.append((T.Pointer if selected else T, ' \u276f ' if selected else ' '))
  • checkbox.py:
    if pointed_at:
    tokens.append((T.Pointer, ' \u276f ', select_item))

@mateoglzc
Copy link

Hello Guys! I'm having the same problem as you. The list pointer is not showing up in my terminal :( I changed the symbol using the @BlackJack1412 solution, but has anyone implemented a solution and doesn't require a source code change?

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

5 participants