chiark / gitweb /
Store an OurKey in FileStatusLine and MenuKeypressLine.
authorSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 08:45:45 +0000 (08:45 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 08:45:45 +0000 (08:45 +0000)
commitbb68e505707c6cb99b2411be15960a6187a2799d
treed28fb93d60a6fb8f7bdf1af24f46c2a6dd6c25ed
parent3061583382d837e042f1185caea035adcf9d3a03
Store an OurKey in FileStatusLine and MenuKeypressLine.

Now we have a representation for keystrokes that can trigger actions,
this is the first step towards a DRY representation in which each menu
and status line configures just once the a set of triples (keypress,
help text, action to take).

Not sure what form the 'action' part of that triple will take yet,
though.
src/text.rs