|
From: | Torsten Lilge |
Subject: | [Octave-bug-tracker] [bug #56151] esc should clear command line, edits shouldn't disable history |
Date: | Wed, 17 Apr 2019 12:47:38 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #1, bug #56151 (project octave): This is related to readline and is therefore not limited to the GUI. Actually, Ctrl-U kills the current line to the beginning. You can also bind "ESC" to "kill-whole-line" by adding "\e":kill-whole-line to your ~/.inputrc file. However, this is not recommanded since readline uses ESC as some sort of modifier key. For details, please refer to, e.g., https://unix.stackexchange.com/questions/30987/windows-shell-escape-key-delete-whole-line-equivalent-in-bash _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56151> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |