zsh-users
 help / color / mirror / code / Atom feed
* mnemonic 'ENTER' with zcurses
@ 2024-01-07 23:54 Ray Andrews
  2024-01-08  0:50 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Ray Andrews @ 2024-01-07 23:54 UTC (permalink / raw)
  To: Zsh Users

This is a pretty trivial matter but 'zcurses input' returns all sorts of 
helpful mnemonics like 'NPAGE', 'DOWN', 'PRESSED1' and so on.  Where are 
these defined?  No likely headers here than I can see.  Closest I can 
find is:

  https://www.man7.org/linux/man-pages/man3/getch.3x.html

... which seems a very similar list.  However that page includes 'ENTER' 
for the predictable thing, but zcurses seems to return no mnemonic for 
that, it's ugly old: " $'\n' ".   Just as a matter of curiosity I'd like 
to know what's going on there.  I'd prefer the mnemonic if it could be had.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-08  1:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-07 23:54 mnemonic 'ENTER' with zcurses Ray Andrews
2024-01-08  0:50 ` Bart Schaefer
2024-01-08  1:08   ` Ray Andrews
2024-01-08  1:34     ` Lawrence Velázquez
2024-01-08  1:43       ` Ray Andrews

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).