Mercurial > octave
view scripts/startup/inputrc @ 30192:8c8031be8072
Windows: Don't get pointers to C strings while vector is still unstable.
* src/main-cli.cc, src/main-gui.cc, src/main.in.cc, src/octave-config.in.cc,
src/octave-svgconvert.cc: The memory used by a vector is not guaranteed to be
stable when elements are added with push_back. Wait until vector is complete
before getting the pointers to the corresponding C strings.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 21:51:03 +0200 |
parents | 5af449d4e1f4 |
children |
line wrap: on
line source
######################################################################## ## This file configures the behavior of line-input editing for all ## Octave users when Octave is configured to use GNU Readline library ## for input-line editing. ## ## This file is NOT an Octave script. ## ## Do not make changes to this file unless you understand how ## GNU Readline configuration works. ######################################################################## ## history-search-backward: ## ## Search backward through the history for the string of characters ## between the start of the current line and the point. This is a ## non-incremental search. Bound to "\e[A", the ANSI escape ## sequence for the UP arrow. "\e[A": history-search-backward ## history-search-forward: ## ## Search forward through the history for the string of characters ## between the start of the current line and the point. This is a ## non-incremental search. Bound to "\e[B", the ANSI escape ## sequence for the DOWN arrow. "\e[B": history-search-forward ## Disable Ctrl+v so the usual paste shortcut will work on Windows. ## \C-q should still be available for quoted insert. "\C-v": "" ## On Windows, disable audible bell which is enabled by default. $if term=cygwin set bell-style none $endif