Skip to content

Commit

Permalink
Merge github.com:vysheng/tg
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaltman committed Jul 10, 2015
2 parents 08c4f48 + 4723db9 commit cf6cb90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 2 additions & 7 deletions README.md
Expand Up @@ -43,7 +43,7 @@ On gentoo:

On Fedora:

sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel libjansson-devel python-devel
sudo dnf install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel libjansson-devel python-devel

On Archlinux:

Expand Down Expand Up @@ -78,12 +78,7 @@ The client depends on [readline library](http://cnswww.cns.cwru.edu/php/chet/rea

If using [Homebrew](http://brew.sh/):

brew install libconfig
brew install readline
brew install lua
brew install python
brew install libevent
brew install jansson
brew install libconfig readline lua python libevent jansson
export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include"
export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib"
./configure && make
Expand Down
5 changes: 4 additions & 1 deletion interface.c
Expand Up @@ -560,7 +560,10 @@ void set_prompt (const char *s) {
}

void update_prompt (void) {
if (readline_disabled) { return; }
if (readline_disabled) {
fflush (stdout);
return;
}
if (read_one_string) { return; }
print_start ();
set_prompt (get_default_prompt ());
Expand Down

0 comments on commit cf6cb90

Please sign in to comment.