smol/src
Benno Schulenberg 908663e8fc input: discard a verbatim 0x0A or 0x00 byte, depending on the mode
This disallows entering a verbatim ^J (0x0A) when typing text or
search terms, and disallows a verbatim ^@ (0x00) when typing a
filename.  Nano beeps when the disallowed code is attempted.

This addresses https://savannah.gnu.org/bugs/?49897.
2016-12-27 16:46:09 +01:00
..
Makefile.am build: clean out the revision.h file, to make 'make distcheck' pass 2016-12-04 11:21:10 +01:00
browser.c tweaks: condense the setting of three flags 2016-12-25 13:11:17 +01:00
chars.c screen: display byte value 0x0A in the right places as ^@ or as ^J 2016-12-23 11:00:55 +01:00
color.c update the license text to the preferred version 2016-08-29 21:27:16 +02:00
cut.c tweaks: compile two parameters unconditionally 2016-10-27 12:24:41 +02:00
files.c files: show newlines in filenames as ^J also in error messages 2016-12-26 12:35:50 +01:00
global.c screen: display byte value 0x0A in the right places as ^@ or as ^J 2016-12-23 11:00:55 +01:00
help.c binding: use arrows instead of words to designate the cursor keys 2016-10-15 17:04:01 +02:00
move.c tweaks: remove some cluttering conditional compilation 2016-12-09 13:32:15 +01:00
nano.c input: discard a verbatim 0x0A or 0x00 byte, depending on the mode 2016-12-27 16:46:09 +01:00
nano.h build: add configure option --disable-wordcomp to disable word completion 2016-12-07 17:02:25 +01:00
prompt.c input: discard a verbatim 0x0A or 0x00 byte, depending on the mode 2016-12-27 16:46:09 +01:00
proto.h input: discard a verbatim 0x0A or 0x00 byte, depending on the mode 2016-12-27 16:46:09 +01:00
rcfile.c tweaks: correct the wording of a string 2016-12-07 21:06:05 +01:00
search.c tweaks: rename three variables, to be more fitting 2016-12-23 13:01:15 +01:00
text.c tweaks: condense the setting of three flags 2016-12-25 13:11:17 +01:00
utils.c utils: go on to parse the line number even if the column number is bad 2016-12-26 11:45:38 +01:00
winio.c input: discard a verbatim 0x0A or 0x00 byte, depending on the mode 2016-12-27 16:46:09 +01:00