mu-server: tweak server
Try to set a larger pipe size (on Linux); and only show the mu-prompt when talking to a tty.
This commit is contained in:
@ -117,7 +117,8 @@ Mu::read_line(bool& do_quit)
|
||||
#endif /*HAVE_READLINE*/
|
||||
|
||||
std::string line;
|
||||
mu_print(";; mu> ");
|
||||
if (is_a_tty) /* avoid uncookied noise for e.g. mu4e */
|
||||
mu_print(";; mu> ");
|
||||
if (!std::getline(std::cin, line))
|
||||
do_quit = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user