mirror of https://github.com/Calamitous/iris.git
Clean up screen noise
This commit is contained in:
parent
f5889fe39a
commit
475b2304ea
3
iris.rb
3
iris.rb
|
@ -310,6 +310,7 @@ class Interface
|
||||||
arg = tokens.last
|
arg = tokens.last
|
||||||
return reply(arg) if cmd == 'reply'
|
return reply(arg) if cmd == 'reply'
|
||||||
puts 'Unrecognized command. Type "help" for a list of available commands.'
|
puts 'Unrecognized command. Type "help" for a list of available commands.'
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def reply(topic_id = nil)
|
def reply(topic_id = nil)
|
||||||
|
@ -350,6 +351,7 @@ class Interface
|
||||||
end
|
end
|
||||||
@reply_topic = nil
|
@reply_topic = nil
|
||||||
@mode = :browsing
|
@mode = :browsing
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def creating_handler(line)
|
def creating_handler(line)
|
||||||
|
@ -369,6 +371,7 @@ class Interface
|
||||||
puts 'Topic saved!'
|
puts 'Topic saved!'
|
||||||
end
|
end
|
||||||
@mode = :browsing
|
@mode = :browsing
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle(line)
|
def handle(line)
|
||||||
|
|
Loading…
Reference in New Issue