• Falk's avatar
    Update interface.c to avoid error messages · d19c4c12
    Falk authored
    When hitting enter (without writing anything) in an chat prompt always appears an error message telling you that the message is empty.
    Checking the content of the line can avoid this.
    I don't know is this behaviour is wrong or right.
    So please forgive me if it doesn’t make sense.
    d19c4c12
Name
Last commit
Last update
debian Loading commit data...
gentoo/telegram-cli Loading commit data...
rpm Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
LICENSE.h Loading commit data...
Makefile Loading commit data...
Makefile.in Loading commit data...
README.es Loading commit data...
README.md Loading commit data...
ax_lua.m4 Loading commit data...
binlog.c Loading commit data...
binlog.h Loading commit data...
binlog.tl Loading commit data...
config.h Loading commit data...
config.h.in Loading commit data...
config.sample Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
constants.h Loading commit data...
gen_constants_h.awk Loading commit data...
include.h Loading commit data...
interface.c Loading commit data...
interface.h Loading commit data...
loop.c Loading commit data...
loop.h Loading commit data...
lua-tg.c Loading commit data...
lua-tg.h Loading commit data...
main.c Loading commit data...
mtproto-client.c Loading commit data...
mtproto-client.h Loading commit data...
mtproto-common.c Loading commit data...
mtproto-common.h Loading commit data...
net.c Loading commit data...
net.h Loading commit data...
no-preview.h Loading commit data...
queries.c Loading commit data...
queries.h Loading commit data...
structures.c Loading commit data...
structures.h Loading commit data...
telegram-cli.spec Loading commit data...
telegram.h Loading commit data...
test.lua Loading commit data...
tg.pub Loading commit data...
tools.c Loading commit data...
tools.h Loading commit data...
tree.h Loading commit data...