9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Bug or inconsistency in cursor behaviour?
@ 2024-10-28 20:19 flowerss
  2024-10-28 22:49 ` Scott Flowers
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: flowerss @ 2024-10-28 20:19 UTC (permalink / raw)
  To: 9front

I have noticed an odd behaviour when using the arrow keys when text is selected in 9front, and I'm wondering if it's a bug, multiple bugs, or just the way things work.

If I have a string of text in a shell or acme, and I select one or more characters with the mouse, and then use the right arrow key, the text gets deselected, and the cursor moves one character past the right end of the selected text. If I use the left arrow key, the cursor moves to one character to the left of the previously selected text. It feels like the resultin position of the cursor has gone one character too far left or right.

In sam, this behaviour is different. If I select text in sam, and then hit the left arrow key, the cursor moves one character to the left of the initially selected text, and if I hit the right arrow key, the cursor moves to the right of the first character of the previously selected text. This also seems odd.

In Windows, MacOS and all the Linux graphical text manipulation apps I have tried, if you select text and then hit the left arrow, the cursor moves to the beginning of the selection, and the right arrow moves to the end of the selection. This feels like the more appropriate behaviour to me. Am I out to lunch?

Thanks,

Scott

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-10-29 17:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-28 20:19 [9front] Bug or inconsistency in cursor behaviour? flowerss
2024-10-28 22:49 ` Scott Flowers
2024-10-28 22:59   ` Scott Flowers
2024-10-28 23:04     ` Scott Flowers
2024-10-28 23:45 ` Thaddeus Woskowiak
2024-10-29  0:35   ` Scott Flowers
2024-10-29  9:59   ` hiro
2024-10-29 15:16     ` Scott Flowers
2024-10-29 17:40       ` hiro
2024-10-29 17:41         ` hiro
2024-10-29  1:40 ` ori
2024-10-29  3:31   ` Scott Flowers
2024-10-29  4:32     ` umbraticus
2024-10-29  9:26     ` hiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).