Mercurial > octave
changeset 14880:9e5df4d6cefa stable
doc: typo on PS1 documentation example
author | Carnë Draug <carandraug+dev@gmail.com> |
---|---|
date | Mon, 16 Jul 2012 16:55:27 +0100 |
parents | 70f86a64c412 |
children | 02952657182e 4315a39da4c9 |
files | src/input.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/input.cc Mon Jul 16 17:16:50 2012 -0400 +++ b/src/input.cc Mon Jul 16 16:55:27 2012 +0100 @@ -1379,7 +1379,7 @@ This can be useful for coloring the prompt. For example,\n\ \n\ @example\n\ -PS1 (\"\\\\[\\\\033[01;31m\\\\]\\\\s:\\\\#> \\\\[\\\\033[0m\\]\")\n\ +PS1 (\"\\\\[\\\\033[01;31m\\\\]\\\\s:\\\\#> \\\\[\\\\033[0m\\\\]\")\n\ @end example\n\ \n\ @noindent\n\