Commit 858fb4deac049a355cc4010c959b88bc2036a505
Minor stylistic correction in src/utils.cpp
Author: xaizek
Author date (UTC): 2019-01-18 13:45
Committer name: xaizek
Committer date (UTC): 2019-01-18 13:45
Parent(s): 787cf060a95a2fcad750adb572c6122a4a450c49
Signing key: 99DC5E4DB05F6BE2
Tree: 5ed95d1e43aa6e31894d3a18496a74acd7815f95
| File src/utils.cpp changed (mode: 100644) (index b4bd55e..d8ba6d3) | 
	| 28 | 
	28 | 
	#include <iostream> | 
	#include <iostream> | 
	| 29 | 
	29 | 
	#include <string> | 
	#include <string> | 
	| 30 | 
	30 | 
	 | 
	 | 
	| 31 | 
	 | 
	static int openTty(void); | 
	 | 
	 | 
	31 | 
	 | 
	static int openTty(); | 
	| 32 | 
	32 | 
	 | 
	 | 
	| 33 | 
	33 | 
	std::wstring | 
	std::wstring | 
	| 34 | 
	34 | 
	toWide(const std::string &s) | 
	toWide(const std::string &s) | 
|   | 
	| ... | 
	... | 
	reopenTermStdin() | 
	| 117 | 
	117 | 
	// not work if all the standard streams are redirected, in which case `/dev/tty` | 
	// not work if all the standard streams are redirected, in which case `/dev/tty` | 
	| 118 | 
	118 | 
	// is used.  Returns opened file descriptor or -1 on error. | 
	// is used.  Returns opened file descriptor or -1 on error. | 
	| 119 | 
	119 | 
	static int | 
	static int | 
	| 120 | 
	 | 
	openTty(void) | 
	 | 
	 | 
	120 | 
	 | 
	openTty() | 
	| 121 | 
	121 | 
	{ | 
	{ | 
	| 122 | 
	122 | 
	    int fd = -1; | 
	    int fd = -1; | 
	| 123 | 
	123 | 
	 | 
	 |