You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/01/08 21:47:14 UTC

[GitHub] [incubator-nuttx-apps] patacongo commented on issue #8: changes NSH command line editing so ctrl-K deletes from char pos to EOL like GNU readline

patacongo commented on issue #8: changes NSH command line editing so ctrl-K deletes from char pos to EOL like GNU readline
URL: https://github.com/apache/incubator-nuttx-apps/pull/8#issuecomment-572272359
 
 
   Doesn't this behavior depend on the nature of the cursor?  If it is a vertical bar "between" characters wouldn't that be different if it is a reversed character, for example?  The reversed character is at the current position.  You would think that the reversed character should not be deleted, i.e., that the current position + 1 to EOL should be deleted.  The real Bash verical bar appears to lie at the left side of the current position, so this behavior is correct, you would want do delete the current character and to the EOL.  I 'm not sure, but it does seem that should be different with different cursors.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services