Re: [code][textadept]Ctrl-Z in curses mode

From: Robert Gieseke <>
Date: Sun, 4 Feb 2018 21:40:23 +0100

Accidentally sent off-list ...


you're right the documentation is a bit unclear for this, in
textadept/keys.lua it's set to M-Z additionally:

keys[not OSX and 'cz' or 'mz'] = buffer.undo
if CURSES then = end -- ^Z suspends in some terminals

If your terminal lets you disable this behaviour you could get your
desired behaviour, otherwise I guess nothing can be done, because
Textadept doesn't get to see the Ctrl-Z.


Am 04/02/18 um 21:05 schrieb Keresztes Barna:
> Hi,
> I'm using Textadept 9.6 (Linux 64 bit) and I bumped in the following
> strange behavior: In ncurses mode, the undo/redo are mapped to cz and cy
> according to the run command window (as in GTK mode). However the undo
> is actually mz (Alt-Z), and cz is mapped to an undocumented exit to
> shell feature (like in Nano).
> I actually like this feature, and it's good to have the same shortcut as
> for Nano, but I would prefer to keep cz and cy for undo/redo (for
> consistency); maybe assign mz to this exit to shell function.
> Textadept dissapearing when trying to undo is very strange...

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 04 Feb 2018 - 15:40:23 EST

This archive was generated by hypermail 2.2.0 : Mon 05 Feb 2018 - 06:28:31 EST