173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
# File 'lib/textbringer/controller.rb', line 173
def echo_input
return if executing_keyboard_macro?
if @prefix_arg || !@key_sequence.empty?
if !@echo_immediately
return if wait_input(1000)
end
@echo_immediately = true
s = +""
if @prefix_arg
s << "C-u"
if @prefix_arg != [4]
s << "(#{@prefix_arg.inspect})"
end
end
if !@key_sequence.empty?
s << " " if !s.empty?
s << Keymap.key_sequence_string(@key_sequence)
end
s << "-"
Window.echo_area.show(s)
Window.echo_area.redisplay
Window.current.window.noutrefresh
Window.update
else
@echo_immediately = false
end
end
|