diff options
author | axel <axel@liljencrantz.se> | 2006-06-22 00:03:44 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-22 00:03:44 +1000 |
commit | 2076944268331c1938ffd0700155c8e7936c19ef (patch) | |
tree | 84dc496981e21e2102cfc647ae65bfab4e1863e3 /reader.h | |
parent | 407c96e943d10c1595d0438ca81c098b78158905 (diff) |
Use the intern function to share the strings used to describe various key bindings. This saves both performance, code size and memory use, but there is a pathological case where the user continually changes key bindings, resulting in more allocated memory than needed.
darcs-hash:20060621140344-ac50b-c7eb89a94a96538215f9a6737f8e4bacd6a801fb.gz
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ void repaint(); Run the specified command with the correct terminal modes, and while taking care to perform job notification, set the title, etc. */ -void reader_run_command( wchar_t *buff ); +void reader_run_command( const wchar_t *buff ); /** Get the string of character currently entered into the command |