Skip to main content
13 events
when toggle format what by license comment
Aug 23, 2022 at 10:22 vote accept techhazard
Aug 22, 2022 at 7:16 vote accept techhazard
Aug 22, 2022 at 7:16
Aug 22, 2022 at 7:16 history edited techhazard CC BY-SA 4.0
added reflection on answer that requires tmux
Aug 20, 2022 at 23:08 answer added Kamil Maciorowski timeline score: 5
Aug 20, 2022 at 7:46 history edited techhazard CC BY-SA 4.0
added 1303 characters in body
Aug 20, 2022 at 7:09 comment added techhazard I also tried splitting it into two lines: printf $'\e[6n' >/dev/tty and then read -d R -a pos -rs </dev/tty (without the -p $'\e[6n'). This also does not work
Aug 20, 2022 at 6:56 comment added techhazard I tried it directly to the read command inside the function, as well as on the place where I call the function: _fetch_cursor_position </dev/tty >/dev/tty. (not at the same time) this did not work.
Aug 20, 2022 at 6:27 answer added ptrck4193 timeline score: 0
Aug 20, 2022 at 6:15 comment added techhazard not yet, I'll try that. something like read [stuff] >/dev/tty </dev/tty right?
Aug 19, 2022 at 21:07 comment added thrig Did you try writing to /dev/tty then reading from there for the get-the-cursor-position handling?
Aug 19, 2022 at 20:52 history edited techhazard CC BY-SA 4.0
added 81 characters in body
S Aug 19, 2022 at 20:28 review First questions
Aug 20, 2022 at 23:09
S Aug 19, 2022 at 20:28 history asked techhazard CC BY-SA 4.0