~aleteoryx/ntalk

52c924d88c14dc5e2b4be97f5870c167632ff7f7 — Aleteoryx 2 months ago 8b50c2b
don't put garbage in the input box when switching focus
1 files changed, 1 insertions(+), 1 deletions(-)

M ntalk.tcl
M ntalk.tcl => ntalk.tcl +1 -1
@@ 659,7 659,7 @@ bind . <Control-Return> {}
.buffer configure -state disabled
bind .buffer <KeyPress> {
	set k %A
	if {$k != {}} {
	if {[string is alnum $k] || ($k != "\t" && [string is space $k])} {
		focus .foot.input
		.foot.input insert insert $k
	}