logoalt Hacker News

WAtoday at 9:39 AM1 replyview on HN

No, but I want to click to place the cursor in my 10 line prompt wherever I want. I want to double click to mark words. I want to use a scroll bar. I want to copy paste properly and not "23 lines pasted". I don’t want to read docs to find all keystrokes the TUI supports to achieve what I want.


Replies

catlifeonmarstoday at 12:18 PM

You can handle mouse events in a TUI

https://ratatui.rs/concepts/backends/mouse-capture/