Elius94 / console-gui-tools

A simple library to draw option menu or other popup inputs and layout on Node.js console.
MIT License
106 stars 17 forks source link

[Feature]: Popups Offset #73

Closed hygameo closed 11 months ago

hygameo commented 11 months ago

What do you want?

I want to offset the popups

Why do you want it?

I think it'll be more convenient to have the pop ups offset feature

How do you implement it?

IDK...

P/s: Sorry alot for my lack of knowledge and bad English

Are you interested in developing this feature?

Elius94 commented 11 months ago

Hi! what do you mean for "offset"? Offset from what?

hygameo commented 11 months ago

When i create a new ButtonPopup class it shows up in the center of the terminal window. So is there any way to offset it from the center of that terminal window? Sorry if it's my fault for not reading the documents carefully and thank you for your reply!

Elius94 commented 11 months ago

https://github.com/Elius94/console-gui-tools/blob/main/docs/OptionPopup.md

x and y ;)