Improve parsing in IDLE mode
patch c70c6d824c3dc25edbb1417483f26cbb303dbc80
Author: Enrique D. Bosch <presidev@AT@gmail.com>
Date: Tue Jan 3 19:53:17 CET 2017
* Improve parsing in IDLE mode
diff -rN -u old-idlebiff/idlebiff new-idlebiff/idlebiff
--- old-idlebiff/idlebiff 2024-11-22 16:19:52.368944217 +0100
+++ new-idlebiff/idlebiff 2024-11-22 16:19:52.368944217 +0100
@@ -444,7 +444,7 @@
if [ catch { set linea [ read_line $con ] } ] return
set prim [ string range $linea 0 0 ]
if { $prim eq "+" } { set idle 1 } \
- elseif { $idle == 1 } { idle_cycle $con 1 } \
+ elseif $idle { if { $prim eq "*" } { idle_cycle $con 1 } } \
else { parse_search $con $linea }
}