Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
cf6cb902
Commit
cf6cb902
authored
Jul 10, 2015
by
vvaltman
Browse files
Options
Browse Files
Download
Plain Diff
Merge github.com:vysheng/tg
parents
08c4f485
4723db98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
README.md
README.md
+2
-7
interface.c
interface.c
+4
-1
No files found.
README.md
View file @
cf6cb902
...
...
@@ -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:
...
...
@@ -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
...
...
interface.c
View file @
cf6cb902
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment