thomas-mauran / chess-tui

A chess TUI implementation in rust 🦀
https://crates.io/crates/chess-tui
MIT License
361 stars 20 forks source link

Mouse support? Is it technically possible? #57

Open franzmondlichtmann opened 6 months ago

franzmondlichtmann commented 6 months ago

Feature Request

A question: Mouse support? Is it technically possible?

joshka commented 6 months ago

Yes - Crossterm supports click events. You'd need to map these to the screen location of the board positions however.

thomas-mauran commented 6 months ago

That could be very nice do you want to make a pr @franzmondlichtmann ?

franzmondlichtmann commented 6 months ago

Oh sorry, I was just curious, I don't actually know how to implement that. :) Also I'm not very good in tech. Maybe I should have done a feature request instead, and not call it a problem.

thomas-mauran commented 6 months ago

No problem thanks for the issue it's a great idea

pSnehanshu commented 6 months ago

This sounds interesting to me. I will jump into it when I can.

thomas-mauran commented 6 months ago

This sounds interesting to me. I will jump into it when I can.

that could be very nice mate looking forward to it !