inspec/lib
Steven Danna b4b6792878 Add readline ignore markers to color escape codes in the shell
Previously, if you typed more than 20 characters at the prompt and
attempted pressed Ctrl+a (readline's "Move to start of line" command),
your prompt would appear at the ~11th character from the start of the
line, unable to go further back.

This was a result readline counting the terminal escape sequences we use
for color output as part of the line.

Wrapping these sequences in \001 and \002 instructs readline to ignore
them when doing calculations regarding line-length, resolving the
problem.
2016-08-10 14:26:56 +02:00
..
bundles update readme for bundles 2016-06-29 08:14:36 +02:00
fetchers fix compliance plugin 2016-04-29 00:39:25 +02:00
inspec Add readline ignore markers to color escape codes in the shell 2016-08-10 14:26:56 +02:00
matchers add boolean support for cmp matcher 2016-06-18 20:33:08 +02:00
resources Allow port to be specified as a string 2016-08-05 14:01:08 +02:00
source_readers migrate load-path hooking for legacy modes 2016-02-22 12:06:42 +01:00
utils move base_cli to lib/inspec 2016-07-26 20:11:25 +02:00
inspec.rb move base_cli to lib/inspec 2016-07-26 20:11:25 +02:00