forked from dvdhrm/kmscon
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow quoting to preserve spaces in the login option in config file
There are three ways to quote supported, derived from shell quoting. - Without surrounding quotes, backspace unconditionally escapes the following character. `\ ` is parsed as a single space which does not separate words. - Within double quotes, backspace only escapes backspace and double quotes. `"\\"` is parsed as a single backslash, while `"\b"` is parsed as the two characters backslash and 'b'. All white space is preserved within quotes. - Within single quotes, backspace does not work as an escape character. `'\"'` is parsed as the two characters backslash and dobule quote. All white space is preserved within quotes. Fixes #57
- Loading branch information
Showing
4 changed files
with
361 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters