File: key-backspace.t

package info (click to toggle)
pick 2.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 648 kB
  • sloc: ansic: 1,162; sh: 64; makefile: 60
file content (24 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
description: backspace deletes the ASCII character behind the cursor
keys: abb \b \b c \n # BACKSPACE ENTER
stdin:
ab
ac
stdout:
ac

description: backspace deletes the UTF-8 character behind the cursor
keys: ö \b \n # BACKSPACE ENTER
stdin:
å
ä
ö
stdout:
å

description: del is an alias for backspace
keys: a \177 c \n # BACKSPACE ENTER
stdin:
a
c
stdout:
c