-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix display for longer command lines
This largely means being more careful about how we move the cursor around, to avoid doing the wrong thing when the command line wraps or is exactly one screen width. We now "reset" the cursor to the beginning of the command line before doing anything else, it's just too hard to move the cursor consistently otherwise. The readline redraw takes care of moving the cursor back to its current place in the command. This fixes #10 and some other issues that I found while testing the change.
- Loading branch information
1 parent
040b87f
commit 6457a91
Showing
2 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters