Bug Report: weird cursor behaviour in Far Manager command line #3589

Open
opened 2026-01-30 23:25:03 +00:00 by claunia · 0 comments
Owner

Originally created by @luzhkovvv on GitHub (Aug 27, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.295]
Windows Terminal version: 0.4.2382.0
Far Manager - practically any available, last tested on Far Manager v3.0 build 5454 x64 (2019-08-23) 

Steps to reproduce

  • install Far Manager from https://farmanager.com/download.php?l=en
  • run Far Manager inside Windows Terminal (from cmd session or by creating new profile)
  • type any text, look how cursor moves in command line while typing
  • press Ctrl-O, try to move cursor using directions keys
  • press "Enter" with any text entered in command line (no matter when in panels mode or in history mode, switched by Ctrl-O, no matter if correct command or any text)
  • type any text again, look how cursor moves while typing
  • press Ctrl-O, try to move cursor using directions keys

Expected behavior

  • cursor follows entered text
  • cursor moves when "left" or "right" button pressed
  • just like it is after fresh start

Actual behavior

  • cursor is displayed before last printed character, not after
  • cursor does not moves when left or right buttons are pressed (just not displayed, internal position gets updated)

P.S. As I get it, it has something to do with the way Far clears and redraw the screen or with the way commands are executed in Far, but I have no ways to localize that bug in Windows Terminal or in Far. At least same version of Far works OK in plain cmd.exe or ConEmu.

Originally created by @luzhkovvv on GitHub (Aug 27, 2019). # Environment ``` Windows build number: Microsoft Windows [Version 10.0.18362.295] Windows Terminal version: 0.4.2382.0 Far Manager - practically any available, last tested on Far Manager v3.0 build 5454 x64 (2019-08-23) ``` # Steps to reproduce - install Far Manager from https://farmanager.com/download.php?l=en - run Far Manager inside Windows Terminal (from cmd session or by creating new profile) - type any text, look how cursor moves in command line while typing - press Ctrl-O, try to move cursor using directions keys - press "Enter" with any text entered in command line (no matter when in panels mode or in history mode, switched by Ctrl-O, no matter if correct command or any text) - type any text again, look how cursor moves while typing - press Ctrl-O, try to move cursor using directions keys # Expected behavior - cursor follows entered text - cursor moves when "left" or "right" button pressed - just like it is after fresh start # Actual behavior - cursor is displayed before last printed character, not after - cursor does not moves when left or right buttons are pressed (just not displayed, internal position gets updated) P.S. As I get it, it has something to do with the way Far clears and redraw the screen or with the way commands are executed in Far, but I have no ways to localize that bug in Windows Terminal or in Far. At least same version of Far works OK in plain cmd.exe or ConEmu.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3589