---
name: "CursesW.newlineMode"
section: "3kaya"
platform: "linux"
package: "libkaya-ncursesw-dev"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/CursesW.newlineMode"
---

# CursesW.newlineMode(3kaya)

Enable or disable return key to newline translation

## NAME

CursesW::newlineMode - Enable or disable return key to newline translation

## SYNOPSIS

**Void newlineMode(** *Bool enable* **)**

## ARGUMENTS

**enable** True to enable, false to disable

## DESCRIPTION

Enable or disable return key to newline translation. Disabling this allows the return key to be detected as a separate key, and may be slightly more efficient, but possibly less convenient.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
