con_autoclear

OpenJK

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Automatically clear console input on close

At a glance

Field Value
Category Engine & diagnostics
Feature family Console
Module engine-client
Also registered in engine-client
Renderer All / not renderer-specific
Network scope client-only — Local to the client/UI/renderer.
Derivation documented
Confidence medium
In-game xdocs No
In-game menu No
Default 1
Value type bool
Restart No latch flag is registered.
Cheat protected No

Values

Value Meaning Evidence
0 Disabled. codemp/client/cl_console.cpp:76
1 Enabled. codemp/client/cl_console.cpp:76

Flags

Provenance

Origin: OpenJK

Dated project introductions

Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.

Project Authored PR opened Integrated Commit Relationship
OpenJK 2013-09-02 2013-09-02 f8564ad61037 Ultimate origin
EternalJK 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit
rend2 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit
TaystJK 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit
jaPRO 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit
NewJK / NewMod 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit
Vulkan 2013-09-02 2013-09-02 f8564ad61037 Shared integration commit

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2013-09-02 OpenJK 24a6cf41baac
(SP) Add con_autoclear cvar, defaults to 1. Disable this if you want the console input content to remain after the console closes.
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_console.cpp medium
2015-11-24 EternalJK c8f6ea17a324
Remove SP code
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_console.cpp medium
2016-03-24 EternalJK c9c6ab99fdd2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_console.cpp medium
2017-08-31 OpenJK 913e3cc57ec7
Merge branch ‘master’ of https://github.com/JACoders/OpenJK.git
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_console.cpp medium

Evidence