IDE: fix primary buffer selection being reset on each write to console on X11.
This problem was making debug_project IDE test randomly failing
.project
.svghmithumbs
.directory
.pytest_cache
.cache
.coverage_full
syntax: regexp
^tests/.*/build$
^exemples/.*/build$
^.idea/.*
syntax: regexp
^.*\.pyc$
syntax: regexp
^.*~$
syntax: regexp
^.*\.swp$
bug_report.*\.txt
i18n/.*.new$
revision
doc/_build
doc/locale
^.*\$py.class$