aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/tedit/display/curses/addch.x
blob: f08085e4ca627124ae8597b25387792450481759 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include "../curses.h"

# ADDCH -- Add a character to the standard screen
#
# B.Simon	01-Oct-90	Original

procedure addch (ch)

char	ch		# i: Character to add
#--
char	str[1]

begin
	str[1] = ch
	str[2] = EOS
	call waddstr (STDSCR, str)
end

procedure waddch (win, ch)

int	win		# i: Window descriptor
char	ch		# i: Character to add
#--
char	str[1]

begin
	str[1] = ch
	str[2] = EOS
	call waddstr (win, str)
end