Micro optimization via StartsStr / StartsText will be good
``` <fpc-src/packages/rtl-console/src/unix/video.pp>: #2 < 1051>: if copy(ThisTTY, 1, 9) = '/dev/ttyv' then {FreeBSD has these} < 1060>: if copy(term,1,length(terminal_names[i]))=terminal_names[i] then <fpc-src/packages/rtl-console/src/unix/mouse.pp>: #2 < 179>: if copy(term,1,length(mouse_terminals[i]))=mouse_terminals[i] then < 189>: if copy(term,1,length(mouse_terminals[i]))=mouse_terminals[i] then ``` in all these 4 places StrUtils.StartsStr() is ok. I will post more places if will find them, in comments.
issue